public class OnMessageBinaryCallable extends OnMessageCallable
OnMessage
annotated methods with a whole or partial binary messages.
Not for use with InputStream
based OnMessage
method objects.
Binary
decoder, decoderClass, idxMessageObject, idxPartialMessageFlag, messageRoleAssigned, returnEncoder, returnType
args, idxConfig, idxSession, params
method, paramTypes, pojo
Constructor and Description |
---|
OnMessageBinaryCallable(Class<?> pojo,
Method method) |
OnMessageBinaryCallable(OnMessageCallable copy)
Copy Constructor
|
Modifier and Type | Method and Description |
---|---|
Object |
call(Object endpoint,
ByteBuffer buf,
boolean partialFlag) |
void |
init(JsrSession session) |
assertDecoderRequired, getDecoder, getDecoderClass, getMessageObjectParam, getReturnEncoder, getReturnType, isMessageRoleAssigned, isPartialMessageSupported, setDecoderClass, setPartialMessageFlag
assertRoleRequired, findIndexForRole, findParamForRole, getParams
call, getMethod, getParamTypes, getPojo, toString
public OnMessageBinaryCallable(OnMessageCallable copy)
public Object call(Object endpoint, ByteBuffer buf, boolean partialFlag) throws DecodeException
DecodeException
public void init(JsrSession session)
init
in class OnMessageCallable
Copyright © 1995-2015 Webtide. All Rights Reserved.