public class BaseChannel extends java.lang.Object implements IChannel
ChannelRunnable
object is created and
sent to the desired channel to be run. All channels
must implement this interface.Constructor and Description |
---|
BaseChannel() |
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 recorder is currently executing 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.
|
public java.lang.Object send(ChannelRunnable runnable)
public boolean isCurrentChannel()
isCurrentChannel
in interface IChannel
public void setUnresponsive(boolean unresponsive)
IChannel
setUnresponsive
in interface IChannel