public interface HeaderBuilder
Modifier and Type | Method and Description |
---|---|
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 u) |
void |
setVersion(byte v) |
long |
uid() |
void |
useOutboundCompression(boolean on) |
byte |
version() |
void setVersion(byte v)
byte version()
void setFlags(byte v)
byte flags()
boolean flag(ByteFlag byteFlag)
void setFlag(ByteFlag byteFlag, boolean value)
byte inboundActorRefCompressionTableVersion()
byte inboundClassManifestCompressionTableVersion()
void useOutboundCompression(boolean on)
CompressionTable<ActorRef> outboundActorRefCompression()
void setOutboundActorRefCompression(CompressionTable<ActorRef> table)
CompressionTable<java.lang.String> outboundClassManifestCompression()
void setOutboundClassManifestCompression(CompressionTable<java.lang.String> table)
void setUid(long u)
long uid()
void setSenderActorRef(ActorRef ref)
OptionVal<ActorRef> senderActorRef(long originUid)
None
if ActorRef was not compressed, and then the literal senderActorRefPath
should be used.originUid
- (undocumented)OptionVal<java.lang.String> senderActorRefPath()
None
if ActorRef was compressed (!). To obtain the path in such case call senderActorRef
and extract the path from it directly.void setNoSender()
boolean isNoSender()
void setNoRecipient()
boolean isNoRecipient()
void setRecipientActorRef(ActorRef ref)
OptionVal<ActorRef> recipientActorRef(long originUid)
None
if ActorRef was not compressed, and then the literal recipientActorRefPath
should be used.originUid
- (undocumented)OptionVal<java.lang.String> recipientActorRefPath()
None
if ActorRef was compressed (!). To obtain the path in such case call recipientActorRefPath
and extract the path from it directly.void setSerializer(int serializer)
int serializer()
void setManifest(java.lang.String manifest)
OptionVal<java.lang.String> manifest(long originUid)
void setRemoteInstruments(RemoteInstruments instruments)
void resetMessageFields()