javax.telephony
Interface TerminalConnection

All Known Subinterfaces:
CallControlTerminalConnection

public interface TerminalConnection

The TerminalConnection represents the relationship between a Connection and a Terminal.


Field Summary
static int ACTIVE
          Supported.
This state indicates that a Terminal is actively part of a telephone call.
static int DROPPED
          Supported.
This state indicates that a particular Terminal has permanently left the telephone call.
static int IDLE
          Supported.
This state is the initial state for all TerminalConnection objects.
static int PASSIVE
          Not supported.
This state indicates that a Terminal is part of a telephone call but not in an active fashion.
static int RINGING
          Supported.
This state indicates the a Terminal is ringing, indicating that the Terminal has an incoming Call.
static int UNKNOWN
          Not supported.
This state indicates that the implementation is unable to determine the state of the TerminalConnection.
 
Method Summary
 void answer()
          Supported.
Answers an incoming telephone call on this TerminalConnection.
 TerminalConnectionCapabilities getCapabilities()
          Not supported. Returns null.
Returns the dynamic capabilities for the instance of the TerminalConnection object.
 Connection getConnection()
          Supported.
Returns the Connection object associated with this TerminalConnection.
 int getState()
          Supported.
Returns the state of the TerminalConnection object.
 Terminal getTerminal()
          Supported.
Returns the Terminal associated with this TerminalConnection object.
 TerminalConnectionCapabilities getTerminalConnectionCapabilities(Terminal terminal, Address address)
          Not supported. Returns null.
Deprecated. Since JTAPI v1.2. This method has been replaced by the TerminalConnection.getCapabilities() method.