|
IBM Rational Functional Tester Version 8.1.1000 IBM Rational Functional Tester Proxy SDK Reference Project Version 2.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.rational.test.ft.domain.BaseChannel
public class BaseChannel
Provides a base channel implementation.
Channels provide a means of executing code that requires thread
affinity. A ChannelRunnable
object is created and
sent to the desired channel to be run. All channels must implement this interface.
Constructor Summary | |
---|---|
BaseChannel()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BaseChannel()
Method Detail |
---|
public java.lang.Object send(ChannelRunnable runnable)
send
in interface IChannel
public boolean isCurrentChannel()
isCurrentChannel
in interface IChannel
public void setUnresponsive(boolean unresponsive)
IChannel
setUnresponsive
in interface IChannel
public boolean isAlive()
IChannel
isAlive
in interface IChannel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |