public interface ChannelHeader extends Marshallable
ChronicleChannel. It maintains a system context
and a session name for a channel, facilitating system-specific and session-specific configurations.
This interface extends Marshallable, making it possible for a ChannelHeader instance to be marshalled and unmarshalled for communication over a ChronicleChannel.
EMPTYDISCARD| Modifier and Type | Method and Description |
|---|---|
String |
sessionName()
Fetches the session name of the channel.
|
ChannelHeader |
sessionName(String sessionName)
Assigns a new session name to the channel.
|
SystemContext |
systemContext()
Fetches the associated system context of the channel.
|
ChannelHeader |
systemContext(SystemContext systemContext)
Assigns a new system context to the channel.
|
$equals, $fieldInfoMap, $fieldInfos, $hashCode, $toString, className, copyTo, deepCopy, fromFile, fromFile, fromString, fromString, fromString, getField, getLongField, mergeToMap, readMarshallable, reset, setField, setLongField, streamFromFile, streamFromFile, writeMarshallablebinaryLengthLength, writeValueunexpectedFieldSystemContext systemContext()
ChannelHeader systemContext(SystemContext systemContext)
systemContext - The new SystemContext object to be set as the system context.String sessionName()
ChannelHeader sessionName(String sessionName)
sessionName - The new session name to be assigned to the channel.Copyright © 2023. All rights reserved.