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, paramsmethod, 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, getParamscall, formatMethodCallError, getMethod, getParamTypes, getPojo, toStringprotected 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 JsrCallablepublic boolean isMessageRoleAssigned()
public boolean isPartialMessageSupported()
public void setDecodingType(Class<?> decodingType)
JsrCallableDecoder should be created to produce.setDecodingType in class JsrCallabledecodingType - the type of class a Decoder should be created to producepublic void setPartialMessageFlag(Param param)
Copyright © 1995–2017 Webtide. All rights reserved.