public class HubApiClientConnect extends AConnect
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONNECT_ID |
connectId, connectInfo, connectOption, connectState, notifyListener
Constructor and Description |
---|
HubApiClientConnect() |
Modifier and Type | Method and Description |
---|---|
void |
init(Context context,
AConnectConfig config,
IConnectInitListener initListener) |
void |
onDestroy() |
void |
send(ARequest request,
IConnectSendListener sendListener) |
void |
setNotifyListener(IConnectNotifyListener notifyListener) |
void |
subscribe(ARequest request,
IConnectSubscribeListener subscribeListener) |
void |
unsubscribe(ARequest request,
IConnectUnscribeListener unscribeListener) |
getConnectId, getConnectInfo, getConnectState, setConnectId, subscribeRrpc, updateConnectOption, updateConnectState
public static final java.lang.String CONNECT_ID
public void init(Context context, AConnectConfig config, IConnectInitListener initListener)
public void send(ARequest request, IConnectSendListener sendListener)
public void subscribe(ARequest request, IConnectSubscribeListener subscribeListener)
public void unsubscribe(ARequest request, IConnectUnscribeListener unscribeListener)
unsubscribe
in class AConnect
public void setNotifyListener(IConnectNotifyListener notifyListener)
setNotifyListener
in class AConnect