public class GWCometHandle extends AbstractCometHandle
AbstractCometHandle.ConnectionServercheckCommandHeart, checkHeart, checkTime, client, commandMap, commandServiceMap, connectInfo, HEARTKEY, isClose, logger, request, response, sessionHandle, sessionMapUser| 构造器和说明 |
|---|
GWCometHandle(com.ds.server.JDSClientService client,
com.ds.engine.JDSSessionHandle sessionHandle,
String systemCode) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
connect(com.ds.context.JDSContext context) |
void |
disconnect() |
void |
receive(String receiveStr) |
boolean |
repeatMsg(com.ds.msg.Msg msg,
com.ds.engine.JDSSessionHandle handle) |
boolean |
send(String msgString) |
getCheckHeart, getClient, getCommandService, getConnectInfo, getSessionHandle, getSystemCode, isconnect, main, reConnect, repeatCommand, send, setCheckHeart, setConnectInfo, setSystemCodepublic GWCometHandle(com.ds.server.JDSClientService client,
com.ds.engine.JDSSessionHandle sessionHandle,
String systemCode)
throws com.ds.common.JDSException
com.ds.common.JDSExceptionpublic void receive(String receiveStr) throws com.ds.common.JDSException
com.ds.common.JDSExceptionpublic boolean send(String msgString) throws com.ds.common.JDSException
send 在接口中 com.ds.engine.ConnectionHandlesend 在类中 AbstractCometHandlecom.ds.common.JDSExceptionpublic void connect(com.ds.context.JDSContext context)
throws com.ds.common.JDSException
connect 在接口中 com.ds.engine.ConnectionHandleconnect 在类中 AbstractCometHandlecom.ds.common.JDSExceptionpublic void disconnect()
throws com.ds.common.JDSException
disconnect 在接口中 com.ds.engine.ConnectionHandledisconnect 在类中 AbstractCometHandlecom.ds.common.JDSExceptionpublic boolean repeatMsg(com.ds.msg.Msg msg,
com.ds.engine.JDSSessionHandle handle)
throws com.ds.common.JDSException
repeatMsg 在接口中 com.ds.engine.ConnectionHandlerepeatMsg 在类中 AbstractCometHandlecom.ds.common.JDSExceptionCopyright © 2025 onecode. All rights reserved.