public static interface IRemoteObject.DeathRecipient
IRemoteObject that subscribes to death notifications of
a RemoteObject.
When a death notification is received, the DeathRecipient#onRemoteDied method is called to
perform subsequent operations.
RemoteObject may be caused by any of the following:
RemoteObject resides dies.RemoteObject resides is shut down or restarted.RemoteObject and RemoteProxy reside on different devices,
the RemoteObject is removed from the network.| 限定符和类型 | 方法 | 说明 |
|---|---|---|
void |
onRemoteDied() |
Called to perform subsequent operations when a death notification of the
RemoteObject is received. |
void onRemoteDied()
RemoteObject is received.
This method is usually used to clear resources of RemoteProxy or notify other objects of
the death of RemoteObject. You can override this method to determine the subsequent operations.