Package org.apache.qpid.protonj2.codec
Class PerformativeEncoder
java.lang.Object
org.apache.qpid.protonj2.codec.PerformativeEncoder
- All Implemented Interfaces:
- Performative.PerformativeHandler<Encoder>
public final class PerformativeEncoder
extends Object
implements Performative.PerformativeHandler<Encoder>
AMQP Performative type specific encoder that uses any 
Encoder to
 cache the specific type encoders for various section types and use them
 directly instead of looking them up via calls to
 Encoder.writeObject(org.apache.qpid.protonj2.buffer.ProtonBuffer, EncoderState, Object)- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidhandleAttach(Attach attach, ProtonBuffer target, int channel, Encoder encoder) voidhandleBegin(Begin begin, ProtonBuffer target, int channel, Encoder encoder) voidhandleClose(Close close, ProtonBuffer target, int channel, Encoder encoder) voidhandleDetach(Detach detach, ProtonBuffer target, int channel, Encoder encoder) voidhandleDisposition(Disposition disposition, ProtonBuffer target, int channel, Encoder encoder) voidhandleEnd(End end, ProtonBuffer target, int channel, Encoder encoder) voidhandleFlow(Flow flow, ProtonBuffer target, int channel, Encoder encoder) voidhandleOpen(Open open, ProtonBuffer target, int channel, Encoder encoder) voidhandleTransfer(Transfer transfer, ProtonBuffer target, int channel, Encoder encoder) 
- 
Constructor Details- 
PerformativeEncoder
 
- 
- 
Method Details- 
getEncoder
- 
getEncoderState
- 
handleOpen- Specified by:
- handleOpenin interface- Performative.PerformativeHandler<Encoder>
 
- 
handleBegin- Specified by:
- handleBeginin interface- Performative.PerformativeHandler<Encoder>
 
- 
handleAttach- Specified by:
- handleAttachin interface- Performative.PerformativeHandler<Encoder>
 
- 
handleFlow- Specified by:
- handleFlowin interface- Performative.PerformativeHandler<Encoder>
 
- 
handleTransfer- Specified by:
- handleTransferin interface- Performative.PerformativeHandler<Encoder>
 
- 
handleDispositionpublic void handleDisposition(Disposition disposition, ProtonBuffer target, int channel, Encoder encoder) - Specified by:
- handleDispositionin interface- Performative.PerformativeHandler<Encoder>
 
- 
handleDetach- Specified by:
- handleDetachin interface- Performative.PerformativeHandler<Encoder>
 
- 
handleEnd- Specified by:
- handleEndin interface- Performative.PerformativeHandler<Encoder>
 
- 
handleClose- Specified by:
- handleClosein interface- Performative.PerformativeHandler<Encoder>
 
 
-