public class OnMessageCallable extends JsrCallable
Modifier and Type | Field and Description |
---|---|
protected Decoder |
decoder |
protected Class<? extends Decoder> |
decoderClass |
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() |
Class<? extends Decoder> |
getDecoderClass() |
Param |
getMessageObjectParam() |
Encoder |
getReturnEncoder() |
Class<?> |
getReturnType() |
void |
init(JsrSession session) |
boolean |
isMessageRoleAssigned() |
boolean |
isPartialMessageSupported() |
void |
setDecoderClass(Class<? extends Decoder> decoderClass) |
void |
setPartialMessageFlag(Param param) |
assertRoleRequired, findIndexForRole, findParamForRole, getParams
call, getMethod, getParamTypes, getPojo, toString
protected final Class<?> returnType
protected Encoder returnEncoder
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 setDecoderClass(Class<? extends Decoder> decoderClass)
setDecoderClass
in class JsrCallable
public void setPartialMessageFlag(Param param)
Copyright © 1995-2015 Webtide. All Rights Reserved.