T
- The type of message to handlepublic abstract class PojoMessageHandlerPartialBase<T> extends PojoMessageHandlerBase<T> implements MessageHandler.Partial<T>
MessageHandler.Partial<T>, MessageHandler.Whole<T>
convert, indexPayload, indexSession, maxMessageSize, method, params, pojo, session
Constructor and Description |
---|
PojoMessageHandlerPartialBase(Object pojo,
Method method,
Session session,
Object[] params,
int indexPayload,
boolean convert,
int indexBoolean,
int indexSession,
long maxMessageSize) |
Modifier and Type | Method and Description |
---|---|
void |
onMessage(T message,
boolean last)
Called when part of a message is available to be processed.
|
getMaxMessageSize, getWrappedHandler, handlePojoMethodException, processResult
public final void onMessage(T message, boolean last)
MessageHandler.Partial
onMessage
in interface MessageHandler.Partial<T>
message
- The message partlast
- true
if this is the last part of
this message, else false
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.