javax.telephony
Interface TerminalConnectionEvent

All Superinterfaces:
CallEvent, Event
All Known Subinterfaces:
CallControlTerminalConnectionEvent

public interface TerminalConnectionEvent
extends CallEvent

The TerminalConnectionEvent interface is the base event interface for all TerminalConnection-related events. All events which pertain to the TerminalConnection object must extend this interface. This interface extends the CallEvent interface and therefore is reported via the CallListener interface.

The core package defines events which are reported when the TerminalConnection changes state. These events are: TERMINAL_CONNECTION_RINGING, TERMINAL_CONNECTION_ACTIVE, TERMINAL_CONNECTION_PASSIVE, TERMINAL_CONNECTION_DROPPED, and TERMINAL_CONNECTION_UNKNOWN. Also, a TERMINAL_CONNECTION_CREATED is sent when a new TerminalConnection is created.

The TerminalConnectionEvent.getTerminalConnection() method on this interface returns the TerminalConnection associated with this TerminalConnection event.

Version:
04/05/99 1.5
See Also:
TerminalConnection, CallListener, CallEvent, TerminalConnectionListener

Field Summary
static int TERMINAL_CONNECTION_ACTIVE
          The TERMINAL_CONNECTION_ACTIVE event indicates that the state of the TerminalConnection object has changed to TerminalConnection.ACTIVE.
static int TERMINAL_CONNECTION_CREATED
          The TERMINAL_CONNECTION_DROPPED event indicates that a new TerminalConnection object has been created.
static int TERMINAL_CONNECTION_DROPPED
          The TERMINAL_CONNECTION_DROPPED event indicates that the state of the TerminalConnection object has changed to TerminalConnection.DROPPED.
static int TERMINAL_CONNECTION_PASSIVE
          The TERMINAL_CONNECTION_PASSIVE event indicates that the state of the TerminalConnection object has changed to TerminalConnection.PASSIVE.
static int TERMINAL_CONNECTION_RINGING
          The TERMINAL_CONNECTION_RINGING event indicates that the state of the TerminalConnection object has changed to TerminalConnection.RINGING.
static int TERMINAL_CONNECTION_UNKNOWN
          The TERMINAL_CONNECTION_UNKNOWN event indicates that the state of the TerminalConnection object has changed to TerminalConnection.UNKNOWN.
 
Fields inherited from interface javax.telephony.CallEvent
CALL_ACTIVE, CALL_EVENT_TRANSMISSION_ENDED, CALL_INVALID
 
Fields inherited from interface javax.telephony.Event
CAUSE_CALL_CANCELLED, CAUSE_DEST_NOT_OBTAINABLE, CAUSE_INCOMPATIBLE_DESTINATION, CAUSE_LOCKOUT, CAUSE_NETWORK_CONGESTION, CAUSE_NETWORK_NOT_OBTAINABLE, CAUSE_NEW_CALL, CAUSE_NORMAL, CAUSE_RESOURCES_NOT_AVAILABLE, CAUSE_SNAPSHOT, CAUSE_UNKNOWN
 
Method Summary
 TerminalConnection getTerminalConnection()
          Returns the TerminalConnection associated with this event.
 
Methods inherited from interface javax.telephony.CallEvent
getCall
 
Methods inherited from interface javax.telephony.Event
getCause, getID, getMetaEvent, getSource
 

Field Detail

TERMINAL_CONNECTION_ACTIVE

public static final int TERMINAL_CONNECTION_ACTIVE
The TERMINAL_CONNECTION_ACTIVE event indicates that the state of the TerminalConnection object has changed to TerminalConnection.ACTIVE.

This constant indicates a specific event passed via a TerminalConnectionEvent event, and is reported on the CallListener interface.

See Also:
Constant Field Values

TERMINAL_CONNECTION_CREATED

public static final int TERMINAL_CONNECTION_CREATED
The TERMINAL_CONNECTION_DROPPED event indicates that a new TerminalConnection object has been created.

This constant indicates a specific event passed via a TerminalConnectionEvent event, and is reported on the CallListener interface.

See Also:
Constant Field Values

TERMINAL_CONNECTION_DROPPED

public static final int TERMINAL_CONNECTION_DROPPED
The TERMINAL_CONNECTION_DROPPED event indicates that the state of the TerminalConnection object has changed to TerminalConnection.DROPPED.

This constant indicates a specific event passed via a TerminalConnectionEvent event, and is reported on the CallListener interface.

See Also:
Constant Field Values

TERMINAL_CONNECTION_PASSIVE

public static final int TERMINAL_CONNECTION_PASSIVE
The TERMINAL_CONNECTION_PASSIVE event indicates that the state of the TerminalConnection object has changed to TerminalConnection.PASSIVE.

This constant indicates a specific event passed via a TerminalConnectionEvent event, and is reported on the CallListener interface.

See Also:
Constant Field Values

TERMINAL_CONNECTION_RINGING

public static final int TERMINAL_CONNECTION_RINGING
The TERMINAL_CONNECTION_RINGING event indicates that the state of the TerminalConnection object has changed to TerminalConnection.RINGING. This interface extends the TerminalConnectionEvent interface and is reported via the CallListener interface.

See Also:
Constant Field Values

TERMINAL_CONNECTION_UNKNOWN

public static final int TERMINAL_CONNECTION_UNKNOWN
The TERMINAL_CONNECTION_UNKNOWN event indicates that the state of the TerminalConnection object has changed to TerminalConnection.UNKNOWN.

This constant indicates a specific event passed via a TerminalConnectionEvent event, and is reported on the CallListener interface.

See Also:
Constant Field Values
Method Detail

getTerminalConnection

public TerminalConnection getTerminalConnection()
Returns the TerminalConnection associated with this event.

Returns:
The TerminalConnection associated with this event.


Copyright © 2005 Avaya All Rights Reserved.