public class OnMessageBinaryCallable extends OnMessageCallable
OnMessage annotated methods with a whole or partial binary messages.
Not for use with InputStream based OnMessage method objects.
Decoder.Binarymethod, paramTypes, pojoargs, idxConfig, idxSession, paramsdecoder, decodingType, idxMessageObject, idxPartialMessageFlag, messageRoleAssigned, returnEncoder, returnType| Constructor | Description |
|---|---|
OnMessageBinaryCallable(java.lang.Class<?> pojo,
java.lang.reflect.Method method) |
|
OnMessageBinaryCallable(OnMessageCallable copy) |
Copy Constructor
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
call(java.lang.Object endpoint,
java.nio.ByteBuffer buf,
boolean partialFlag) |
|
void |
init(JsrSession session) |
call, formatMethodCallError, getMethod, getParamTypes, getPojo, toStringassertRoleRequired, findIndexForRole, findParamForRole, getParamsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitassertDecoderRequired, getDecoder, getMessageObjectParam, getReturnEncoder, getReturnType, isMessageRoleAssigned, isPartialMessageSupported, setDecodingType, setPartialMessageFlagpublic OnMessageBinaryCallable(java.lang.Class<?> pojo,
java.lang.reflect.Method method)
public OnMessageBinaryCallable(OnMessageCallable copy)
copy - the callable to copypublic java.lang.Object call(java.lang.Object endpoint,
java.nio.ByteBuffer buf,
boolean partialFlag)
throws DecodeException
DecodeExceptionpublic void init(JsrSession session)
init in class OnMessageCallableCopyright © 1995–2018 Webtide. All rights reserved.