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.Binarydecoder, decodingType, idxMessageObject, idxPartialMessageFlag, messageRoleAssigned, returnEncoder, returnTypeargs, idxConfig, idxSession, paramsmethod, paramTypes, pojo| Constructor and Description |
|---|
OnMessageBinaryCallable(java.lang.Class<?> pojo,
java.lang.reflect.Method method) |
OnMessageBinaryCallable(OnMessageCallable copy)
Copy Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
call(java.lang.Object endpoint,
java.nio.ByteBuffer buf,
boolean partialFlag) |
void |
init(JsrSession session) |
assertDecoderRequired, getDecoder, getMessageObjectParam, getReturnEncoder, getReturnType, isMessageRoleAssigned, isPartialMessageSupported, setDecodingType, setPartialMessageFlagassertRoleRequired, findIndexForRole, findParamForRole, getParamscall, formatMethodCallError, getMethod, getParamTypes, getPojo, toStringpublic 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 javax.websocket.DecodeException
javax.websocket.DecodeExceptionpublic void init(JsrSession session)
init in class OnMessageCallableCopyright © 1995–2022 Webtide. All rights reserved.