server
1.9.0
jvm
server
/
io.spine.server.transport
/
MessageChannel
Message
Channel
public
interface
MessageChannel
implements
AutoCloseable
A channel dedicated to exchanging the messages.
Inheritors
AbstractChannel
Publisher
Members
Functions
channel
Id
For
Link copied to clipboard
public
static
ChannelId
channelIdFor
(
TypeUrl messageType
)
Converts the given message type into a ChannelId.
id
Link copied to clipboard
public
abstract
ChannelId
id
(
)
Obtains the channel identifier.
is
Stale
Link copied to clipboard
public
abstract
boolean
isStale
(
)
Allows to understand whether this channel is stale and can be closed.
target
Type
Link copied to clipboard
public
TypeUrl
targetType
(
)
Obtains the type of the messages transferred through this channel.
Inherited functions
close
Link copied to clipboard
public
abstract
void
close
(
)