AbstractChannel

public abstract class AbstractChannel implements MessageChannel

An abstract base for message channels.

Inheritors

Constructors

Link copied to clipboard
protected void AbstractChannel(ChannelId id)

Functions

Link copied to clipboard
public ChannelId id()
Obtains the channel identifier.

Inherited functions

Link copied to clipboard
public static ChannelId channelIdFor(TypeUrl messageType)
Converts the given message type into a ChannelId.
Link copied to clipboard
public abstract void close()
Link copied to clipboard
public abstract boolean isStale()
Allows to understand whether this channel is stale and can be closed.
Link copied to clipboard
public TypeUrl targetType()
Obtains the type of the messages transferred through this channel.