T
- public static final class Decoder.Decoded<T> extends Object
Function
,
by returning a ABORT
instance. Returning an instance of Decoded with the action set to Decoder.Decoded.ACTION.CONTINUE
will allow dispatching messages to Function
Modifier and Type | Class and Description |
---|---|
static class |
Decoder.Decoded.ACTION |
Modifier and Type | Field and Description |
---|---|
static Decoder.Decoded |
ABORT
Use this object to prevent the delivering of messages to
Function |
Constructor and Description |
---|
Decoder.Decoded(T decodedMessage)
Create a decoded object with action set to
Decoder.Decoded.ACTION.CONTINUE |
Decoder.Decoded(T decodedMessage,
Decoder.Decoded.ACTION action)
Create a decoded object
|
public static final Decoder.Decoded ABORT
Function
public Decoder.Decoded(T decodedMessage, Decoder.Decoded.ACTION action)
decodedMessage
- the decoded messageaction
- the actionpublic Decoder.Decoded(T decodedMessage)
Decoder.Decoded.ACTION.CONTINUE
decodedMessage
- public T decoded()
public Decoder.Decoded.ACTION action()
Copyright © 2015. All Rights Reserved.