public abstract class EzyAbstractResponseApi extends com.tvd12.ezyfox.util.EzyLoggable implements EzyResponseApi
| Constructor and Description |
|---|
EzyAbstractResponseApi() |
| Modifier and Type | Method and Description |
|---|---|
protected EzySimplePacket |
createPacket(com.tvd12.ezyfox.constant.EzyConstant transportType,
Object bytes) |
protected byte[] |
dataToMessageContent(com.tvd12.ezyfox.entity.EzyArray data) |
protected abstract Object |
encodeData(com.tvd12.ezyfox.entity.EzyArray data) |
protected byte[] |
encryptMessageContent(byte[] messageContent,
byte[] encryptionKey) |
protected abstract com.tvd12.ezyfox.constant.EzyConstant |
getConnectionType() |
protected void |
normalResponse(EzyPackage pack,
boolean immediate) |
void |
response(EzyPackage pack,
boolean immediate) |
protected void |
secureResponse(EzyPackage pack,
boolean immediate) |
protected void |
sendTcpPacket(EzySession session,
EzyPacket packet) |
protected void |
sendTcpPacketNow(EzySession session,
EzyPacket packet) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitresponsepublic void response(EzyPackage pack, boolean immediate) throws Exception
response in interface EzyResponseApiExceptionprotected final void normalResponse(EzyPackage pack, boolean immediate) throws Exception
Exceptionprotected final void secureResponse(EzyPackage pack, boolean immediate) throws Exception
Exceptionprotected EzySimplePacket createPacket(com.tvd12.ezyfox.constant.EzyConstant transportType, Object bytes)
protected void sendTcpPacket(EzySession session, EzyPacket packet) throws Exception
Exceptionprotected void sendTcpPacketNow(EzySession session, EzyPacket packet) throws Exception
Exceptionprotected abstract com.tvd12.ezyfox.constant.EzyConstant getConnectionType()
protected abstract Object encodeData(com.tvd12.ezyfox.entity.EzyArray data) throws Exception
Exceptionprotected byte[] dataToMessageContent(com.tvd12.ezyfox.entity.EzyArray data)
throws Exception
ExceptionCopyright © 2024 Young Monkeys. All rights reserved.