public final class HeaderBuilderImpl extends java.lang.Object implements HeaderBuilder
| Constructor and Description |
|---|
HeaderBuilderImpl(InboundCompressions inboundCompression,
CompressionTable<ActorRef> _outboundActorRefCompression,
CompressionTable<java.lang.String> _outboundClassManifestCompression) |
| Modifier and Type | Method and Description |
|---|---|
byte |
_flags() |
byte |
_inboundActorRefCompressionTableVersion() |
byte |
_inboundClassManifestCompressionTableVersion() |
java.lang.String |
_manifest() |
int |
_manifestIdx() |
CompressionTable<ActorRef> |
_outboundActorRefCompression() |
CompressionTable<java.lang.String> |
_outboundClassManifestCompression() |
java.lang.String |
_recipientActorRef() |
int |
_recipientActorRefIdx() |
OptionVal<RemoteInstruments> |
_remoteInstruments() |
java.lang.String |
_senderActorRef() |
int |
_senderActorRefIdx() |
int |
_serializer() |
long |
_uid() |
boolean |
_useOutboundCompression() |
byte |
_version() |
boolean |
flag(ByteFlag byteFlag) |
byte |
flags() |
byte |
inboundActorRefCompressionTableVersion() |
byte |
inboundClassManifestCompressionTableVersion() |
boolean |
isNoRecipient() |
boolean |
isNoSender() |
OptionVal<java.lang.String> |
manifest(long originUid) |
CompressionTable<ActorRef> |
outboundActorRefCompression() |
CompressionTable<java.lang.String> |
outboundClassManifestCompression() |
OptionVal<ActorRef> |
recipientActorRef(long originUid)
Retrive the compressed ActorRef by the compressionId carried by this header.
|
OptionVal<java.lang.String> |
recipientActorRefPath()
Retrive the raw literal actor path, instead of using the compressed value.
|
void |
resetMessageFields()
Reset all fields that are related to an outbound message,
i.e.
|
OptionVal<ActorRef> |
senderActorRef(long originUid)
Retrive the compressed ActorRef by the compressionId carried by this header.
|
OptionVal<java.lang.String> |
senderActorRefPath()
Retrive the raw literal actor path, instead of using the compressed value.
|
int |
serializer() |
void |
setFlag(ByteFlag byteFlag,
boolean value) |
void |
setFlags(byte v) |
void |
setManifest(java.lang.String manifest) |
void |
setNoRecipient() |
void |
setNoSender() |
void |
setOutboundActorRefCompression(CompressionTable<ActorRef> table) |
void |
setOutboundClassManifestCompression(CompressionTable<java.lang.String> table) |
void |
setRecipientActorRef(ActorRef ref) |
void |
setRemoteInstruments(RemoteInstruments instruments) |
void |
setSenderActorRef(ActorRef ref) |
void |
setSerializer(int serializer) |
void |
setUid(long uid) |
void |
setVersion(byte v) |
java.lang.String |
toString() |
long |
uid() |
void |
useOutboundCompression(boolean on) |
byte |
version() |
public HeaderBuilderImpl(InboundCompressions inboundCompression, CompressionTable<ActorRef> _outboundActorRefCompression, CompressionTable<java.lang.String> _outboundClassManifestCompression)
public CompressionTable<ActorRef> _outboundActorRefCompression()
public CompressionTable<java.lang.String> _outboundClassManifestCompression()
public byte _version()
public byte _flags()
public long _uid()
public byte _inboundActorRefCompressionTableVersion()
public byte _inboundClassManifestCompressionTableVersion()
public boolean _useOutboundCompression()
public java.lang.String _senderActorRef()
public int _senderActorRefIdx()
public java.lang.String _recipientActorRef()
public int _recipientActorRefIdx()
public int _serializer()
public java.lang.String _manifest()
public int _manifestIdx()
public OptionVal<RemoteInstruments> _remoteInstruments()
public void resetMessageFields()
HeaderBuilderresetMessageFields in interface HeaderBuilderpublic void setVersion(byte v)
setVersion in interface HeaderBuilderpublic byte version()
version in interface HeaderBuilderpublic void setFlags(byte v)
setFlags in interface HeaderBuilderpublic byte flags()
flags in interface HeaderBuilderpublic boolean flag(ByteFlag byteFlag)
flag in interface HeaderBuilderpublic void setFlag(ByteFlag byteFlag, boolean value)
setFlag in interface HeaderBuilderpublic void setUid(long uid)
setUid in interface HeaderBuilderpublic long uid()
uid in interface HeaderBuilderpublic byte inboundActorRefCompressionTableVersion()
inboundActorRefCompressionTableVersion in interface HeaderBuilderpublic byte inboundClassManifestCompressionTableVersion()
inboundClassManifestCompressionTableVersion in interface HeaderBuilderpublic void useOutboundCompression(boolean on)
useOutboundCompression in interface HeaderBuilderpublic void setOutboundActorRefCompression(CompressionTable<ActorRef> table)
setOutboundActorRefCompression in interface HeaderBuilderpublic CompressionTable<ActorRef> outboundActorRefCompression()
outboundActorRefCompression in interface HeaderBuilderpublic void setOutboundClassManifestCompression(CompressionTable<java.lang.String> table)
setOutboundClassManifestCompression in interface HeaderBuilderpublic CompressionTable<java.lang.String> outboundClassManifestCompression()
outboundClassManifestCompression in interface HeaderBuilderpublic void setSenderActorRef(ActorRef ref)
setSenderActorRef in interface HeaderBuilderpublic void setNoSender()
setNoSender in interface HeaderBuilderpublic boolean isNoSender()
isNoSender in interface HeaderBuilderpublic OptionVal<ActorRef> senderActorRef(long originUid)
HeaderBuilderNone if ActorRef was not compressed, and then the literal senderActorRefPath should be used.senderActorRef in interface HeaderBuilderoriginUid - (undocumented)public OptionVal<java.lang.String> senderActorRefPath()
HeaderBuilderNone if ActorRef was compressed (!). To obtain the path in such case call senderActorRef and extract the path from it directly.senderActorRefPath in interface HeaderBuilderpublic void setNoRecipient()
setNoRecipient in interface HeaderBuilderpublic boolean isNoRecipient()
isNoRecipient in interface HeaderBuilderpublic void setRecipientActorRef(ActorRef ref)
setRecipientActorRef in interface HeaderBuilderpublic OptionVal<ActorRef> recipientActorRef(long originUid)
HeaderBuilderNone if ActorRef was not compressed, and then the literal recipientActorRefPath should be used.recipientActorRef in interface HeaderBuilderoriginUid - (undocumented)public OptionVal<java.lang.String> recipientActorRefPath()
HeaderBuilderNone if ActorRef was compressed (!). To obtain the path in such case call recipientActorRefPath and extract the path from it directly.recipientActorRefPath in interface HeaderBuilderpublic void setSerializer(int serializer)
setSerializer in interface HeaderBuilderpublic int serializer()
serializer in interface HeaderBuilderpublic void setManifest(java.lang.String manifest)
setManifest in interface HeaderBuilderpublic OptionVal<java.lang.String> manifest(long originUid)
manifest in interface HeaderBuilderpublic void setRemoteInstruments(RemoteInstruments instruments)
setRemoteInstruments in interface HeaderBuilderpublic java.lang.String toString()
toString in class java.lang.Object