public class PojoMessageHandlerWholeBinary extends PojoMessageHandlerWholeBase<java.nio.ByteBuffer>
MessageHandler.Partial<T>, MessageHandler.Whole<T>
convert, indexPayload, indexSession, maxMessageSize, method, params, pojo, session
Constructor and Description |
---|
PojoMessageHandlerWholeBinary(java.lang.Object pojo,
java.lang.reflect.Method method,
Session session,
EndpointConfig config,
java.util.List<java.lang.Class<? extends Decoder>> decoderClazzes,
java.lang.Object[] params,
int indexPayload,
boolean convert,
int indexSession,
boolean isForInputStream,
long maxMessageSize) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
convert(java.nio.ByteBuffer message) |
protected java.lang.Object |
decode(java.nio.ByteBuffer message) |
protected void |
onClose() |
onMessage
getMaxMessageSize, getWrappedHandler, handlePojoMethodException, processResult
public PojoMessageHandlerWholeBinary(java.lang.Object pojo, java.lang.reflect.Method method, Session session, EndpointConfig config, java.util.List<java.lang.Class<? extends Decoder>> decoderClazzes, java.lang.Object[] params, int indexPayload, boolean convert, int indexSession, boolean isForInputStream, long maxMessageSize)
protected java.lang.Object decode(java.nio.ByteBuffer message) throws DecodeException
decode
in class PojoMessageHandlerWholeBase<java.nio.ByteBuffer>
DecodeException
protected java.lang.Object convert(java.nio.ByteBuffer message)
convert
in class PojoMessageHandlerWholeBase<java.nio.ByteBuffer>
protected void onClose()
onClose
in class PojoMessageHandlerWholeBase<java.nio.ByteBuffer>
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.