IRemoteBroker
|
sptr<IRemoteObject> AsObject()
|
Obtains the holder of a remote proxy object. This method must be implemented by the derived classes of IRemoteBroker. If you call this method on the stub, the RemoteObject is returned; if you call this method on the proxy, the proxy object is returned.
|
IRemoteStub
|
virtual int OnRemoteRequest(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option)
|
Called to process a request from the proxy and return the result. Derived classes need to override this method.
|