public interface IConnect
限定符和类型 | 接口和说明 |
---|---|
static class |
IConnect.ConnectType |
static class |
IConnect.TConnectState |
限定符和类型 | 字段和说明 |
---|---|
static int |
OPTION_ICONNECT_BLACKLIST |
static int |
OPTION_ICONNECT_PREFIXSECRET |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getConnectId(IConnect.ConnectType type) |
IConnect.TConnectState |
getConnectState() |
IConnect.ConnectType |
getConnectType() |
boolean |
regTopic(java.lang.String connectId,
java.lang.String identifer,
java.lang.String topic,
boolean isNeedAuth,
ITResRequestInnerHandler handler) |
boolean |
resourcePublish(java.lang.String identifer,
java.lang.String method,
java.lang.String topic,
OutputParams params,
IPublishResourceListener var2) |
boolean |
send(TmpCommonRequest var1,
IRequestHandler var2) |
boolean |
setOption(java.lang.String connectId,
int option,
java.lang.Object value) |
boolean |
startDiscovery(INotifyHandler var1) |
boolean |
stopDiscovery() |
boolean |
subscribe(TmpCommonRequest var2,
IRequestHandler var3,
INotifyHandler notifyHandler) |
boolean |
unInit() |
boolean |
unRegTopic(java.lang.String identifer,
java.lang.String topic) |
boolean |
unsubscribe(TmpCommonRequest var2,
IRequestHandler var3) |
static final int OPTION_ICONNECT_PREFIXSECRET
static final int OPTION_ICONNECT_BLACKLIST
IConnect.ConnectType getConnectType()
java.lang.String getConnectId(IConnect.ConnectType type)
boolean send(TmpCommonRequest var1, IRequestHandler var2)
boolean subscribe(TmpCommonRequest var2, IRequestHandler var3, INotifyHandler notifyHandler)
boolean unsubscribe(TmpCommonRequest var2, IRequestHandler var3)
boolean resourcePublish(java.lang.String identifer, java.lang.String method, java.lang.String topic, OutputParams params, IPublishResourceListener var2)
boolean regTopic(java.lang.String connectId, java.lang.String identifer, java.lang.String topic, boolean isNeedAuth, ITResRequestInnerHandler handler)
boolean unRegTopic(java.lang.String identifer, java.lang.String topic)
boolean startDiscovery(INotifyHandler var1)
boolean stopDiscovery()
boolean setOption(java.lang.String connectId, int option, java.lang.Object value)
IConnect.TConnectState getConnectState()
boolean unInit()