server
1.9.0
jvm
server
/
io.spine.server.transport
/
AbstractChannel
Abstract
Channel
public
abstract
class
AbstractChannel
implements
MessageChannel
An abstract base for
message channels
.
Inheritors
Subscriber
InMemoryPublisher
Members
Constructors
Abstract
Channel
Link copied to clipboard
protected
void
AbstractChannel
(
ChannelId id
)
Functions
id
Link copied to clipboard
public
ChannelId
id
(
)
Obtains the channel identifier.
Inherited functions
channel
Id
For
Link copied to clipboard
public
static
ChannelId
channelIdFor
(
TypeUrl messageType
)
Converts the given message type into a ChannelId.
close
Link copied to clipboard
public
abstract
void
close
(
)
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.