public class RespokeSignalingChannel
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
RespokeSignalingChannel.Listener
A delegate protocol to notify the receiver of events occurring with the connection status of the signaling channel
|
static interface |
RespokeSignalingChannel.RegisterPresenceListener
A listener interface to receive a notification that this client has been registered to receive presence updates for a specific endpoint
|
static interface |
RespokeSignalingChannel.RESTListener
A listener interface to receive a notification that the REST message transmission has completed
|
Modifier and Type | Field and Description |
---|---|
boolean |
connected |
Constructor and Description |
---|
RespokeSignalingChannel(java.lang.String token,
RespokeSignalingChannel.Listener newListener,
java.lang.String baseURL,
android.content.Context context) |
Modifier and Type | Method and Description |
---|---|
void |
authenticate() |
void |
disconnect() |
RespokeSignalingChannel.Listener |
GetListener() |
void |
registerPresence(java.util.ArrayList<java.lang.String> endpointList,
RespokeSignalingChannel.RegisterPresenceListener completionListener) |
void |
sendRESTMessage(java.lang.String httpMethod,
java.lang.String url,
org.json.JSONObject data,
RespokeSignalingChannel.RESTListener completionListener) |
void |
sendSignal(org.json.JSONObject message,
java.lang.String toEndpointID,
java.lang.String toConnection,
java.lang.String toType,
boolean ccSelf,
Respoke.TaskCompletionListener completionListener) |
public RespokeSignalingChannel(java.lang.String token, RespokeSignalingChannel.Listener newListener, java.lang.String baseURL, android.content.Context context)
public RespokeSignalingChannel.Listener GetListener()
public void authenticate()
public void disconnect()
public void registerPresence(java.util.ArrayList<java.lang.String> endpointList, RespokeSignalingChannel.RegisterPresenceListener completionListener)
public void sendRESTMessage(java.lang.String httpMethod, java.lang.String url, org.json.JSONObject data, RespokeSignalingChannel.RESTListener completionListener)
public void sendSignal(org.json.JSONObject message, java.lang.String toEndpointID, java.lang.String toConnection, java.lang.String toType, boolean ccSelf, Respoke.TaskCompletionListener completionListener)