|
JSR-043: JTAPI-1.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
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 |
public static final int TERMINAL_CONNECTION_ACTIVE
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.
public static final int TERMINAL_CONNECTION_CREATED
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.
public static final int TERMINAL_CONNECTION_DROPPED
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.
public static final int TERMINAL_CONNECTION_PASSIVE
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.
public static final int TERMINAL_CONNECTION_RINGING
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.public static final int TERMINAL_CONNECTION_UNKNOWN
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.
Method Detail |
public TerminalConnection getTerminalConnection()
|
JSR-043: JTAPI-1.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |