public class AndroidSMQ extends SMQ
Modifier and Type | Class and Description |
---|---|
static interface |
AndroidSMQ.OnSmqCloseListener |
static interface |
AndroidSMQ.OnSmqConnectionListener |
Constructor and Description |
---|
AndroidSMQ(java.net.URL smqUrl,
javax.net.ssl.TrustManager[] trustMgr,
javax.net.ssl.HostnameVerifier hostVerifier,
java.net.Proxy proxy,
IntfOnClose onClose)
|
Modifier and Type | Method and Description |
---|---|
void |
close(boolean flush,
IntfOnClose onClose)
See SMQ.close for details.
|
void |
connectAsync(byte[] uid,
java.lang.String credentials,
java.lang.String info,
AndroidSMQ.OnSmqConnectionListener onSmqConnectionListener) |
connect, connected, create, create, createsub, getETid, getIpAddr, getRand, init, observe, observe, publish, publish, publish, publish, publish, publish, publish, subscribe, subscribe, subtopic2tid, tid2subtopic, tid2topic, topic2tid, unobserve, unobserve, unsubscribe, unsubscribe
public AndroidSMQ(java.net.URL smqUrl, javax.net.ssl.TrustManager[] trustMgr, javax.net.ssl.HostnameVerifier hostVerifier, java.net.Proxy proxy, IntfOnClose onClose)
public void connectAsync(byte[] uid, java.lang.String credentials, java.lang.String info, AndroidSMQ.OnSmqConnectionListener onSmqConnectionListener)
public void close(boolean flush, IntfOnClose onClose)