/* * This file is auto-generated. DO NOT MODIFY. * Original file: D:\\android_workspace\\other\\SogouChat\\src\\com\\sogou\\sogouchat\\os\\IMsgService.aidl */ package com.sogou.sogouchat.os; public interface IMsgService extends android.os.IInterface { /** Local-side IPC implementation stub class. */ public static abstract class Stub extends android.os.Binder implements com.sogou.sogouchat.os.IMsgService { private static final java.lang.String DESCRIPTOR = "com.sogou.sogouchat.os.IMsgService"; /** Construct the stub at attach it to the interface. */ public Stub() { this.attachInterface(this, DESCRIPTOR); } /** * Cast an IBinder object into an com.sogou.sogouchat.os.IMsgService interface, * generating a proxy if needed. */ public static com.sogou.sogouchat.os.IMsgService asInterface(android.os.IBinder obj) { if ((obj==null)) { return null; } android.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR); if (((iin!=null)&&(iin instanceof com.sogou.sogouchat.os.IMsgService))) { return ((com.sogou.sogouchat.os.IMsgService)iin); } return new com.sogou.sogouchat.os.IMsgService.Stub.Proxy(obj); } @Override public android.os.IBinder asBinder() { return this; } @Override public boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int flags) throws android.os.RemoteException { switch (code) { case INTERFACE_TRANSACTION: { reply.writeString(DESCRIPTOR); return true; } case TRANSACTION_getTelList: { data.enforceInterface(DESCRIPTOR); java.util.List<com.sogou.sogouchat.bean.TelNode> _result = this.getTelList(); reply.writeNoException(); reply.writeTypedList(_result); return true; } case TRANSACTION_getNewMsgList: { data.enforceInterface(DESCRIPTOR); java.util.List<com.sogou.sogouchat.bean.MsgNode> _result = this.getNewMsgList(); reply.writeNoException(); reply.writeTypedList(_result); return true; } case TRANSACTION_downMediaList: { data.enforceInterface(DESCRIPTOR); java.util.List<com.sogou.sogouchat.bean.DownNode> _arg0; _arg0 = data.createTypedArrayList(com.sogou.sogouchat.bean.DownNode.CREATOR); this.downMediaList(_arg0); reply.writeNoException(); return true; } case TRANSACTION_fetchMsgBox: { data.enforceInterface(DESCRIPTOR); this.fetchMsgBox(); reply.writeNoException(); return true; } case TRANSACTION_fetchContactDb: { data.enforceInterface(DESCRIPTOR); this.fetchContactDb(); reply.writeNoException(); return true; } case TRANSACTION_handleSrvForeMsg: { data.enforceInterface(DESCRIPTOR); int _arg0; _arg0 = data.readInt(); java.lang.String _arg1; _arg1 = data.readString(); java.lang.String _arg2; _arg2 = data.readString(); this.handleSrvForeMsg(_arg0, _arg1, _arg2); reply.writeNoException(); return true; } } return super.onTransact(code, data, reply, flags); } private static class Proxy implements com.sogou.sogouchat.os.IMsgService { private android.os.IBinder mRemote; Proxy(android.os.IBinder remote) { mRemote = remote; } @Override public android.os.IBinder asBinder() { return mRemote; } public java.lang.String getInterfaceDescriptor() { return DESCRIPTOR; } @Override public java.util.List<com.sogou.sogouchat.bean.TelNode> getTelList() throws android.os.RemoteException { android.os.Parcel _data = android.os.Parcel.obtain(); android.os.Parcel _reply = android.os.Parcel.obtain(); java.util.List<com.sogou.sogouchat.bean.TelNode> _result; try { _data.writeInterfaceToken(DESCRIPTOR); mRemote.transact(Stub.TRANSACTION_getTelList, _data, _reply, 0); _reply.readException(); _result = _reply.createTypedArrayList(com.sogou.sogouchat.bean.TelNode.CREATOR); } finally { _reply.recycle(); _data.recycle(); } return _result; } @Override public java.util.List<com.sogou.sogouchat.bean.MsgNode> getNewMsgList() throws android.os.RemoteException { android.os.Parcel _data = android.os.Parcel.obtain(); android.os.Parcel _reply = android.os.Parcel.obtain(); java.util.List<com.sogou.sogouchat.bean.MsgNode> _result; try { _data.writeInterfaceToken(DESCRIPTOR); mRemote.transact(Stub.TRANSACTION_getNewMsgList, _data, _reply, 0); _reply.readException(); _result = _reply.createTypedArrayList(com.sogou.sogouchat.bean.MsgNode.CREATOR); } finally { _reply.recycle(); _data.recycle(); } return _result; } @Override public void downMediaList(java.util.List<com.sogou.sogouchat.bean.DownNode> msgList) throws android.os.RemoteException { android.os.Parcel _data = android.os.Parcel.obtain(); android.os.Parcel _reply = android.os.Parcel.obtain(); try { _data.writeInterfaceToken(DESCRIPTOR); _data.writeTypedList(msgList); mRemote.transact(Stub.TRANSACTION_downMediaList, _data, _reply, 0); _reply.readException(); } finally { _reply.recycle(); _data.recycle(); } } @Override public void fetchMsgBox() throws android.os.RemoteException { android.os.Parcel _data = android.os.Parcel.obtain(); android.os.Parcel _reply = android.os.Parcel.obtain(); try { _data.writeInterfaceToken(DESCRIPTOR); mRemote.transact(Stub.TRANSACTION_fetchMsgBox, _data, _reply, 0); _reply.readException(); } finally { _reply.recycle(); _data.recycle(); } } @Override public void fetchContactDb() throws android.os.RemoteException { android.os.Parcel _data = android.os.Parcel.obtain(); android.os.Parcel _reply = android.os.Parcel.obtain(); try { _data.writeInterfaceToken(DESCRIPTOR); mRemote.transact(Stub.TRANSACTION_fetchContactDb, _data, _reply, 0); _reply.readException(); } finally { _reply.recycle(); _data.recycle(); } } @Override public void handleSrvForeMsg(int msg, java.lang.String arg1, java.lang.String arg2) throws android.os.RemoteException { android.os.Parcel _data = android.os.Parcel.obtain(); android.os.Parcel _reply = android.os.Parcel.obtain(); try { _data.writeInterfaceToken(DESCRIPTOR); _data.writeInt(msg); _data.writeString(arg1); _data.writeString(arg2); mRemote.transact(Stub.TRANSACTION_handleSrvForeMsg, _data, _reply, 0); _reply.readException(); } finally { _reply.recycle(); _data.recycle(); } } } static final int TRANSACTION_getTelList = (android.os.IBinder.FIRST_CALL_TRANSACTION + 0); static final int TRANSACTION_getNewMsgList = (android.os.IBinder.FIRST_CALL_TRANSACTION + 1); static final int TRANSACTION_downMediaList = (android.os.IBinder.FIRST_CALL_TRANSACTION + 2); static final int TRANSACTION_fetchMsgBox = (android.os.IBinder.FIRST_CALL_TRANSACTION + 3); static final int TRANSACTION_fetchContactDb = (android.os.IBinder.FIRST_CALL_TRANSACTION + 4); static final int TRANSACTION_handleSrvForeMsg = (android.os.IBinder.FIRST_CALL_TRANSACTION + 5); } public java.util.List<com.sogou.sogouchat.bean.TelNode> getTelList() throws android.os.RemoteException; public java.util.List<com.sogou.sogouchat.bean.MsgNode> getNewMsgList() throws android.os.RemoteException; public void downMediaList(java.util.List<com.sogou.sogouchat.bean.DownNode> msgList) throws android.os.RemoteException; public void fetchMsgBox() throws android.os.RemoteException; public void fetchContactDb() throws android.os.RemoteException; public void handleSrvForeMsg(int msg, java.lang.String arg1, java.lang.String arg2) throws android.os.RemoteException; }