Package | Description |
---|---|
com.pushtechnology.android.diffusion | |
com.pushtechnology.mobile |
Modifier and Type | Method and Description |
---|---|
void |
DiffusionClient.reconnect()
Reconnect to the server.
|
Modifier and Type | Method and Description |
---|---|
void |
PagedTopicHandler.close()
Close the Topic.
|
void |
AbstractDiffusionClient.close()
close, close the connection to Diffusion, this will also remove any topic
listeners
|
PagedTopicHandler |
AbstractDiffusionClient.createPagedTopicHandler(Message message,
PagedTopicListener listener)
Creates a handler object for a 'paged' Topic.
|
ServiceTopicHandler |
AbstractDiffusionClient.createServiceTopicHandler(Message message,
ServiceTopicListener listener)
Creates a handler object for a 'Service' Topic.
|
TopicNotifyTopicHandler |
AbstractDiffusionClient.createTopicNotifyTopicHandler(Message message,
TopicNotifyTopicListener listener)
Creates a handler object for a 'Topic Notify' Topic.
|
void |
AbstractDiffusionClient.fetch(String topicName)
Issue a fetch request to the Diffusion server.
|
void |
AbstractDiffusionClient.fetch(String topicName,
String[] headers)
Issue a fetch request to the Diffusion server.
|
String |
AbstractDiffusionClient.getClientID()
getClientID
|
void |
PagedTopicHandler.open(int linesPerPage,
int openPage)
Open the Topic.
|
void |
PagedTopicHandler.page(int number)
Requests a page by absolute page number.
|
void |
PagedTopicHandler.page(com.pushtechnology.mobile.enums.PageOption page)
Requests a page, relative to the current page.
|
void |
AbstractDiffusionClient.ping()
ping, send a ping request to the Diffusion Server, this will respond on
the @see DiffusionConnectionListsener.onPingMessage
|
void |
TopicMessage.putRecord(byte[][] fields)
Append the content of the message with the given fields.
|
void |
TopicMessage.putRecord(String[] fields) |
abstract void |
AbstractDiffusionClient.reconnect()
Reconnect, and reestablish state
|
void |
ServiceTopicHandler.request(String requestType,
String requestId,
TopicMessage data)
Sends a request to the Service.
|
String |
ServiceTopicHandler.request(String requestType,
TopicMessage data)
Sends a request to the Service.
|
void |
TopicNotifyTopicHandler.select(TopicNotifyTopicHandler.SelectionMode mode,
String selections)
Sends a request to the server to update the selection of topics that
topic add notifications will be received for.
|
void |
AbstractDiffusionClient.send(String topicName,
String message)
send Send a message to Diffusion on a given topic
|
void |
AbstractDiffusionClient.sendCredentials(DiffusionClientCredentials credentials)
Send credentials to the sever
|
void |
AbstractDiffusionClient.sendMessage(TopicMessage topicMessage,
com.pushtechnology.mobile.enums.MessageType messageType)
Send a message to the server
|
void |
AbstractDiffusionClient.sendTopicMessage(TopicMessage topicMessage)
sendTopicMessage Send a topic message to Diffusion
|
void |
TopicNotifyTopicHandler.setNotificationDetails(TopicNotifyTopicHandler.NotificationLevel addLevel,
boolean notifyRemoval,
boolean notifyUpdate)
This can be used to set the notification details required.
|
void |
AbstractDiffusionClient.subscribe(String topic)
subscribe Subscribe the client to a TopicSet of topics, or an individual
topic
|
void |
AbstractDiffusionClient.unsubscribe(String topicName)
unsubscribe
|
Copyright © 2016 Push Technology Ltd. All Rights Reserved.