IBM Rational Functional Tester
Version 8.1.1000
IBM Rational Functional Tester Proxy SDK Reference

Project Version 2.3

com.rational.test.ft.domain
Interface IChannel

All Known Implementing Classes:
BaseChannel, ThreadChannel

public interface IChannel

Provides a means of executing code that requires thread affinity. A ChannelRunnable object is created and sent to the desired channel for execution. All channel implementations must implement this interface.


Method Summary
 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.
 

Method Detail

send

java.lang.Object send(ChannelRunnable runnable)
Sends the request to be executed on this channel.

Since:
RFT1.0

isCurrentChannel

boolean isCurrentChannel()
Determines whether the caller is running on the thread associated with this channel.

Since:
RFT1.0

isAlive

boolean isAlive()
Is the channel still alive? That is, is the thread and underlying SpyPort still active?

Returns:
true channel still alive

setUnresponsive

void setUnresponsive(boolean unresponsive)
Mark the channel as unresponsive, usually after a message times out.

Since:
RFT2.2