IPCSkeleton: Provides IPC interfaces to obtain services, read and write objects,
and obtain the UID and PID.IRemoteBroker: Provides the holder of a remote proxy.IRemoteObject: Provides interfaces to manage remote objects. This class must be inherited and
implemented by both service providers and users.IRemoteObject.DeathRecipient: Represents an inner class of IRemoteObject that subscribes to
death notifications of a RemoteObject.MessageOption: Provides an identifier used by the sendRequest interface to synchronously or
asynchronously send MessageParcel messages.MessageParcel: Provides the message data and inherits from the Parcel class.RemoteException: Reports IPC exceptions and inherits from the Exception class.RemoteObject: Implements and manages remote objects.RemoteProxy: Implements and manages remote proxies.RemoteObjectCallbackList: Manages the list of callbacks and automatically removes a callback
from the list if the process hosting the callback dies.ReliableFileDescriptor: Wraps reliable file descriptors that can be accessed from multiple threads.| 接口 | 说明 |
|---|---|
| IRemoteBroker |
Obtains the holder of a remote proxy object.
|
| IRemoteObject |
A remote object interface that must be implemented by service providers and users.
|
| IRemoteObject.DeathRecipient |
Represents an inner class of
IRemoteObject that subscribes to death notifications of
a RemoteObject. |
| 类 | 说明 |
|---|---|
| IPCSkeleton |
Provides static interfaces in the IPC skeleton to obtain services, read and write objects,
obtain the UID and PID, obtain the IDs of local and peer devices,
and check whether an interface call is made on the same device.
|
| MessageOption |
Defines options for sending messages together with
sendRequest. |
| MessageParcel |
Inherits from the
Parcel class and provides methods for managing MessageParcel objects. |
| ReliableFileDescriptor |
Wraps a reliable
FileDescriptor that can be accessed from multiple threads. |
| ReliableFileDescriptor.AutoCloseFileInputStream |
Represents a file input stream whose file descriptor is automatically closed when this stream is closed.
|
| ReliableFileDescriptor.AutoCloseFileOutputStream |
Represents a file output stream whose file descriptor is automatically closed when this stream is closed.
|
| RemoteObject |
Implements remote objects.
|
| RemoteObjectCallbackList<E extends IRemoteBroker> |
Stores and maintains a list of remote callbacks from a service to its clients.
|
| RemoteProxy |
Implements
IRemoteObject proxy objects. |
| 异常错误 | 说明 |
|---|---|
| RemoteException |
Represents the remote exception.
|