public interface IChannel
ChannelRunnable
object is created and
sent to the desired channel for execution. All channel implementations
must implement this interface.Modifier and Type | Method and Description |
---|---|
boolean |
isAlive()
Is the channel still alive? That is, is the thread and underlying SpyPort still active?
|
boolean |
isCurrentChannel()
Determines whether the caller is running on the thread associated with this
channel.
|
java.lang.Object |
send(ChannelRunnable runnable)
Sends the request to be executed on this channel.
|
void |
setUnresponsive(boolean unresponsive)
Mark the channel as unresponsive, usually after a message times out.
|
java.lang.Object send(ChannelRunnable runnable)
boolean isCurrentChannel()
boolean isAlive()
void setUnresponsive(boolean unresponsive)