- readFromParcel(Parcel) - Method in class com.xconns.peerdevicenet.DeviceInfo
-
- readFromParcel(Parcel) - Method in class com.xconns.peerdevicenet.NetInfo
-
- RECV_MSG - Static variable in class com.xconns.peerdevicenet.Router.MsgId
-
message id to notify client to receive a message from peers.
- REGISTER_RECEIVER - Static variable in class com.xconns.peerdevicenet.Router.MsgId
-
message id to register a receiver messenger.
- REMOTE_INTENT - Static variable in class com.xconns.peerdevicenet.Router.MsgKey
-
- Router - Class in com.xconns.peerdevicenet
-
Messaging api for clients to communicate with Router services using intents
and messenger.
- Router() - Constructor for class com.xconns.peerdevicenet.Router
-
- Router.ConnFailureCode - Class in com.xconns.peerdevicenet
-
Reasons why peer device connections failed.
- Router.Intent - Class in com.xconns.peerdevicenet
-
Intenting api allows clients communicate with Router services using intents;
clients will send intents/messages to Router services by calling startService() and
received intents/messages from Router services by registering BroadcastReceivers.
- Router.MsgId - Class in com.xconns.peerdevicenet
-
Messenger api allows clients communicate with Router services using
"Messenger" design pattern with messages identified by message ids;
clients will use a messenger to send messages to Router services and
register another messenger to receive messages from Router services;
there is 1-1 correspondence between intent names and message ids.
- Router.MsgKey - Class in com.xconns.peerdevicenet
-
key names for indexing data items in message bundle.
- RouterConnectionClient - Class in com.xconns.peerdevicenet
-
RouterConnectionClient wrapper class is the preferred way to access the asynchronous one-way AIDL api of Router Connection Service.
- RouterConnectionClient(Context, RouterConnectionClient.ConnectionHandler) - Constructor for class com.xconns.peerdevicenet.RouterConnectionClient
-
RouterConnectionClient constructor; register a ConnectionHandler to expose client side one-way asynchronous messaging api for ConnectionService to call back.
- RouterConnectionClient.ConnectionHandler - Interface in com.xconns.peerdevicenet
-
ConnectionHandler exposes client side async messaging one-way AIDL api to allow ConnectionService call back to
notify events such as network attachment and detachment, device connection and disconnection.
- RouterGroupClient - Class in com.xconns.peerdevicenet
-
RouterGroupClient wrapper class is the preferred way to access the asynchronous one-way AIDL api of Router Group Service.
- RouterGroupClient(Context, String, DeviceInfo[], RouterGroupClient.GroupHandler) - Constructor for class com.xconns.peerdevicenet.RouterGroupClient
-
RouterGroupClient constructor; register a GroupHandler to expose client side one-way asynchronous messaging api for GroupService to call back.
- RouterGroupClient.GroupHandler - Interface in com.xconns.peerdevicenet
-
GroupHandler exposes client side async messaging one-way AIDL api to allow GroupService notify
events such as peer devices joining group, peer devices leaving a group or receiving a message.