public final class ReusableInboundEnvelope extends java.lang.Object implements InboundEnvelope
Constructor and Description |
---|
ReusableInboundEnvelope() |
Modifier and Type | Method and Description |
---|---|
OptionVal<OutboundContext> |
association() |
java.lang.String |
classManifest() |
void |
clear() |
static ObjectPool<ReusableInboundEnvelope> |
createObjectPool(int capacity) |
EnvelopeBuffer |
envelopeBuffer() |
boolean |
flag(ByteFlag byteFlag) |
byte |
flags() |
InboundEnvelope |
init(OptionVal<InternalActorRef> recipient,
OptionVal<ActorRef> sender,
long originUid,
int serializer,
java.lang.String classManifest,
byte flags,
EnvelopeBuffer envelopeBuffer,
OptionVal<OutboundContext> association) |
java.lang.Object |
message() |
long |
originUid() |
OptionVal<InternalActorRef> |
recipient() |
InboundEnvelope |
releaseEnvelopeBuffer() |
OptionVal<ActorRef> |
sender() |
int |
serializer() |
java.lang.String |
toString() |
InboundEnvelope |
withEnvelopeBuffer(EnvelopeBuffer envelopeBuffer) |
InboundEnvelope |
withMessage(java.lang.Object message) |
InboundEnvelope |
withRecipient(InternalActorRef ref) |
public static ObjectPool<ReusableInboundEnvelope> createObjectPool(int capacity)
public OptionVal<InternalActorRef> recipient()
recipient
in interface InboundEnvelope
public OptionVal<ActorRef> sender()
sender
in interface InboundEnvelope
public long originUid()
originUid
in interface InboundEnvelope
public OptionVal<OutboundContext> association()
association
in interface InboundEnvelope
public int serializer()
serializer
in interface InboundEnvelope
public java.lang.String classManifest()
classManifest
in interface InboundEnvelope
public java.lang.Object message()
message
in interface InboundEnvelope
public EnvelopeBuffer envelopeBuffer()
envelopeBuffer
in interface InboundEnvelope
public byte flags()
flags
in interface InboundEnvelope
public boolean flag(ByteFlag byteFlag)
flag
in interface InboundEnvelope
public InboundEnvelope withMessage(java.lang.Object message)
withMessage
in interface InboundEnvelope
public InboundEnvelope releaseEnvelopeBuffer()
releaseEnvelopeBuffer
in interface InboundEnvelope
public InboundEnvelope withRecipient(InternalActorRef ref)
withRecipient
in interface InboundEnvelope
public void clear()
public InboundEnvelope init(OptionVal<InternalActorRef> recipient, OptionVal<ActorRef> sender, long originUid, int serializer, java.lang.String classManifest, byte flags, EnvelopeBuffer envelopeBuffer, OptionVal<OutboundContext> association)
public InboundEnvelope withEnvelopeBuffer(EnvelopeBuffer envelopeBuffer)
public java.lang.String toString()
toString
in class java.lang.Object