Class OnMessagePongCallable
- java.lang.Object
-
- org.eclipse.jetty.websocket.common.events.annotated.CallableMethod
-
- org.eclipse.jetty.websocket.jsr356.annotations.JsrCallable
-
- org.eclipse.jetty.websocket.jsr356.annotations.OnMessageCallable
-
- org.eclipse.jetty.websocket.jsr356.annotations.OnMessagePongCallable
-
public class OnMessagePongCallable extends OnMessageCallable
Callable forOnMessage
annotated methods with aPongMessage
message object.
-
-
Field Summary
-
Fields inherited from class org.eclipse.jetty.websocket.jsr356.annotations.OnMessageCallable
decoder, decodingType, idxMessageObject, idxPartialMessageFlag, messageRoleAssigned, returnEncoder, returnType
-
Fields inherited from class org.eclipse.jetty.websocket.jsr356.annotations.JsrCallable
args, idxConfig, idxSession, params
-
Fields inherited from class org.eclipse.jetty.websocket.common.events.annotated.CallableMethod
method, paramTypes, pojo
-
-
Constructor Summary
Constructors Constructor Description OnMessagePongCallable(java.lang.Class<?> pojo, java.lang.reflect.Method method)
OnMessagePongCallable(OnMessageCallable copy)
Copy Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
call(java.lang.Object endpoint, java.nio.ByteBuffer buf)
void
init(JsrSession session)
-
Methods inherited from class org.eclipse.jetty.websocket.jsr356.annotations.OnMessageCallable
assertDecoderRequired, getDecoder, getMessageObjectParam, getReturnEncoder, getReturnType, isMessageRoleAssigned, isPartialMessageSupported, setDecodingType, setPartialMessageFlag
-
Methods inherited from class org.eclipse.jetty.websocket.jsr356.annotations.JsrCallable
assertRoleRequired, findIndexForRole, findParamForRole, getParams
-
Methods inherited from class org.eclipse.jetty.websocket.common.events.annotated.CallableMethod
call, formatMethodCallError, getMethod, getParamTypes, getPojo, toString
-
-
-
-
Constructor Detail
-
OnMessagePongCallable
public OnMessagePongCallable(java.lang.Class<?> pojo, java.lang.reflect.Method method)
-
OnMessagePongCallable
public OnMessagePongCallable(OnMessageCallable copy)
Copy Constructor- Parameters:
copy
- the callable to copy from
-
-
Method Detail
-
call
public java.lang.Object call(java.lang.Object endpoint, java.nio.ByteBuffer buf)
-
init
public void init(JsrSession session)
- Overrides:
init
in classOnMessageCallable
-
-