public class ApiGatewayClientSessionManager extends Object implements IClientSessionManager
CLOSE_SESSION_TIMER, SKEY| 构造器和说明 |
|---|
ApiGatewayClientSessionManager() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
closeSession(ISession session) |
int |
getClientType() |
IClientSession |
getOrConnect(String instanceName,
String host,
String port) |
void |
init() |
void |
registerMessageHandler(IMessageHandler handler) |
void |
setClientType(int clientType) |
public void init()
public void registerMessageHandler(IMessageHandler handler)
public IClientSession getOrConnect(String instanceName, String host, String port)
getOrConnect 在接口中 IClientSessionManagerpublic void closeSession(ISession session)
closeSession 在接口中 IClientSessionManagerpublic int getClientType()
public void setClientType(int clientType)
Copyright © 2018–2021 The Apache Software Foundation. All rights reserved.