public class OnMessageCallable extends JsrCallable
Modifier and Type | Field and Description |
---|---|
protected Decoder |
decoder |
protected Class<?> |
decodingType |
protected int |
idxMessageObject |
protected int |
idxPartialMessageFlag |
protected boolean |
messageRoleAssigned |
protected Encoder |
returnEncoder |
protected Class<?> |
returnType |
args, idxConfig, idxSession, params
method, paramTypes, pojo
Constructor and Description |
---|
OnMessageCallable(Class<?> pojo,
Method method) |
OnMessageCallable(OnMessageCallable copy) |
Modifier and Type | Method and Description |
---|---|
protected void |
assertDecoderRequired() |
Decoder |
getDecoder() |
Param |
getMessageObjectParam() |
Encoder |
getReturnEncoder() |
Class<?> |
getReturnType() |
void |
init(JsrSession session) |
boolean |
isMessageRoleAssigned() |
boolean |
isPartialMessageSupported() |
void |
setDecodingType(Class<?> decodingType)
The Type of Class a
Decoder should be created to produce. |
void |
setPartialMessageFlag(Param param) |
assertRoleRequired, findIndexForRole, findParamForRole, getParams
call, formatMethodCallError, getMethod, getParamTypes, getPojo, toString
protected final Class<?> returnType
protected Encoder returnEncoder
protected Class<?> decodingType
protected Decoder decoder
protected int idxPartialMessageFlag
protected int idxMessageObject
protected boolean messageRoleAssigned
public OnMessageCallable(OnMessageCallable copy)
protected void assertDecoderRequired()
public Decoder getDecoder()
public Param getMessageObjectParam()
public Encoder getReturnEncoder()
public Class<?> getReturnType()
public void init(JsrSession session)
init
in class JsrCallable
public boolean isMessageRoleAssigned()
public boolean isPartialMessageSupported()
public void setDecodingType(Class<?> decodingType)
JsrCallable
Decoder
should be created to produce.setDecodingType
in class JsrCallable
decodingType
- the type of class a Decoder should be created to producepublic void setPartialMessageFlag(Param param)
Copyright © 1995–2017 Webtide. All rights reserved.