Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ACCESS_DENIED - Static variable in exception class RTL.SMQ.SmqException
- AndroidSMQ - Class in RTL.SMQ
-
AndroidSMQ is specifically designed for being used in an Android GUI application.
- AndroidSMQ(URL, TrustManager[], HostnameVerifier, Proxy, IntfOnClose) - Constructor for class RTL.SMQ.AndroidSMQ
- AndroidSMQ.OnSmqCloseListener - Interface in RTL.SMQ
- AndroidSMQ.OnSmqConnectionListener - Interface in RTL.SMQ
C
- CANNOT_CONNECT - Static variable in exception class RTL.SMQ.SmqException
- cert() - Static method in class RTL.SMQ.TrustAny
-
Returns a TrustManager set that enables the SMQ client to accept any server certificate.
- CLIENT_CERTIFICATE_NOT_ACCEPTED - Static variable in exception class RTL.SMQ.SmqException
- CLIENT_CERTIFICATE_REQUIRED - Static variable in exception class RTL.SMQ.SmqException
- close(boolean, IntfOnClose) - Method in class RTL.SMQ.AndroidSMQ
-
See SMQ.close for details.
- close(boolean, IntfOnClose) - Method in class RTL.SMQ.SMQ
-
Terminate the upstream and downstream threads and close the broker connection if the connection is established.
- close(boolean, IntfOnClose) - Method in class RTL.SMQ.SwingSMQ
-
See SMQ.close for details
- connect(byte[], String, String) - Method in class RTL.SMQ.SMQ
-
Connect to the broker and morph (upgrade) the HTTPS connection to a persistent and secure (encrypted) TCP connection.
- connectAsync(byte[], String, String, AndroidSMQ.OnSmqConnectionListener) - Method in class RTL.SMQ.AndroidSMQ
- connected() - Method in class RTL.SMQ.SMQ
-
Returns true if the client is connected.
- create(String, String, IntfOnCreateAck) - Method in class RTL.SMQ.SMQ
-
Create a topic name and sub topic name.
- create(String, IntfOnCreateAck) - Method in class RTL.SMQ.SMQ
-
Create a topic and fetch the topic ID (tid).
- createsub(String, IntfOnCreatsubeAck) - Method in class RTL.SMQ.SMQ
D
- DISCONNECT - Static variable in exception class RTL.SMQ.SmqException
G
- getCause() - Method in exception class RTL.SMQ.SmqException
- getData() - Method in class RTL.SMQ.Msg
-
Returns the raw data sent by the broker.
- getETid() - Method in class RTL.SMQ.SMQ
-
Returns the client's ephemeral topic ID.
- getIpAddr() - Method in class RTL.SMQ.SMQ
-
Returns the client's IP address as seen by the server.
- getPTid() - Method in class RTL.SMQ.Msg
-
Returns the publisher's ephemeral topic ID, i.e.
- getRand() - Method in class RTL.SMQ.SMQ
-
Returns the random number provided by the broker.
- getReason() - Method in exception class RTL.SMQ.SmqException
- getSubTid() - Method in class RTL.SMQ.Msg
-
Returns the subtopic ID for which this message was published to or zero if subtopic was not set by the publisher.
- getTid() - Method in class RTL.SMQ.Msg
-
Returns the topic ID for which this message was published to.
H
- hostName() - Static method in class RTL.SMQ.TrustAny
-
Returns a HostnameVerifier that enables the SMQ client to accept any domain/hostname.
I
- INCORRECT_CREDENTIALS - Static variable in exception class RTL.SMQ.SmqException
- init() - Method in class RTL.SMQ.SMQ
-
The init method initiates a connection with the broker.
- IntfOnChange - Interface in RTL.SMQ
-
Callback interface for 'change' events sent by the broker.
- IntfOnClose - Interface in RTL.SMQ
-
Callback interface for 'close' events.
- IntfOnCreateAck - Interface in RTL.SMQ
-
Callback interface for responses to 'create' messages sent to the broker.
- IntfOnCreatsubeAck - Interface in RTL.SMQ
-
Callback interface for responses to 'createsub' messages sent to the broker.
- IntfOnMsg - Interface in RTL.SMQ
-
Callback interface for receiving messages from the broker.
- INVALID_ARG - Static variable in exception class RTL.SMQ.SmqException
- INVALID_STATE - Static variable in exception class RTL.SMQ.SmqException
M
N
- NON_200_RESPONSE_CODE - Static variable in exception class RTL.SMQ.SmqException
O
- observe(long, IntfOnChange) - Method in class RTL.SMQ.SMQ
-
Requests the broker to provide change notification events when the number of subscribers to a specific topic changes.
- observe(String, IntfOnChange) - Method in class RTL.SMQ.SMQ
-
Requests the broker to provide change notification events when the number of subscribers to a specific topic changes.
- onSmqClosed() - Method in interface RTL.SMQ.AndroidSMQ.OnSmqCloseListener
- onSmqConnected() - Method in interface RTL.SMQ.AndroidSMQ.OnSmqConnectionListener
- onSmqConnectionErr(SmqException) - Method in interface RTL.SMQ.AndroidSMQ.OnSmqConnectionListener
P
- PONG_TMO - Static variable in exception class RTL.SMQ.SmqException
- PROTOCOL_ERROR - Static variable in exception class RTL.SMQ.SmqException
- publish(long, long, byte[]) - Method in class RTL.SMQ.SMQ
-
Publish a message to a (named topic or ephemeral topic ID) and to a named subtopic.
- publish(long, long, byte[], int, int) - Method in class RTL.SMQ.SMQ
-
Publish a message to a (named topic or ephemeral topic ID) and to a named subtopic.
- publish(String, byte[]) - Method in class RTL.SMQ.SMQ
-
Publish a message to a named topic and set subtopic ID to zero.
- publish(String, long, byte[]) - Method in class RTL.SMQ.SMQ
-
Publish a message to a named topic and subtopic.
- publish(String, String) - Method in class RTL.SMQ.SMQ
-
Publish a message to a named topic and set subtopic ID to zero.
- publish(String, String, byte[]) - Method in class RTL.SMQ.SMQ
-
Publish a message to a named topic and subtopic.
- publish(String, String, String) - Method in class RTL.SMQ.SMQ
-
Publish a message to a named topic and subtopic.
R
- RTL.SMQ - package RTL.SMQ
S
- SERVER_DISCONNECT - Static variable in exception class RTL.SMQ.SmqException
- SERVER_UNAVAILABLE - Static variable in exception class RTL.SMQ.SmqException
- SMQ - Class in RTL.SMQ
-
The Simple Message Queue (SMQ) Java client provides a similar high level API as the JavaScript SMQ client.
- SMQ(URL, TrustManager[], HostnameVerifier, Proxy, IntfOnClose) - Constructor for class RTL.SMQ.SMQ
-
Create an SMQ client instance
- SmqException - Exception Class in RTL.SMQ
- smqOnChange(long, long) - Method in interface RTL.SMQ.IntfOnChange
-
The method is called when the broker sends a change notification event.
- smqOnClose(SmqException) - Method in interface RTL.SMQ.IntfOnClose
-
Called if the broker requested the connection to be closed (graceful disconnect) or if the persistent TCP connection should disconnect.
- smqOnCreateAck(boolean, String, long, String, long) - Method in interface RTL.SMQ.IntfOnCreateAck
-
Called when the broker sends the CreateAck message to the client.
- smqOnCreatesubAck(boolean, String, long) - Method in interface RTL.SMQ.IntfOnCreatsubeAck
-
Called when the broker sends the CreatesubAck message to the client.
- smqOnMsg(Msg) - Method in interface RTL.SMQ.IntfOnMsg
-
Called each time a new message arrives.
- SSL_NOT_SUPPORTED - Static variable in exception class RTL.SMQ.SmqException
- subscribe(String, String, IntfOnMsg, IntfOnCreateAck) - Method in class RTL.SMQ.SMQ
-
Subscribe to a named topic and to a named subtopic.
- subscribe(String, IntfOnMsg, IntfOnCreateAck) - Method in class RTL.SMQ.SMQ
-
Subscribe to a named topic, but no subtopic and create a "catch all" for subtopics not subscribed to (including zero for no subtopic).
- subtopic2tid(String) - Method in class RTL.SMQ.SMQ
-
Translates a subtopic name known to the client to subtopic ID.
- SwingSMQ - Class in RTL.SMQ
-
SwingSMQ is specifically designed for being used in a Swing GUI application.
- SwingSMQ(URL, TrustManager[], HostnameVerifier, Proxy, IntfOnClose) - Constructor for class RTL.SMQ.SwingSMQ
T
- tid2subtopic(long) - Method in class RTL.SMQ.SMQ
-
Translates subtopic ID known to the client to subtopic name.
- tid2topic(long) - Method in class RTL.SMQ.SMQ
-
Translates topic ID known to the client to topic name.
- topic2tid(String) - Method in class RTL.SMQ.SMQ
-
Translates a topic name known to the client to topic ID (tid).
- toString() - Method in class RTL.SMQ.Msg
-
Attempt to convert the data from raw UTF-8 to a Java string.
- toString() - Method in exception class RTL.SMQ.SmqException
- TrustAny - Class in RTL.SMQ
-
Utility class that provides a TrustManager and HostnameVerifier that accepts any certificate and hostname.
- TrustAny() - Constructor for class RTL.SMQ.TrustAny
U
- UNACCEPTABLE_PROTOCOL_VERSION - Static variable in exception class RTL.SMQ.SmqException
- unobserve(long) - Method in class RTL.SMQ.SMQ
-
Stop receiving change notifications for a named topic or ephemeral topic ID.
- unobserve(String) - Method in class RTL.SMQ.SMQ
-
Stop receiving change notifications for a named topic.
- unsubscribe(long) - Method in class RTL.SMQ.SMQ
-
Requests the server to unsubscribe the client from a topic.
- unsubscribe(String) - Method in class RTL.SMQ.SMQ
-
Requests the server to unsubscribe the client from a topic.
- URL_NOT_A_BROKER - Static variable in exception class RTL.SMQ.SmqException
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form