|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface is an extension of the CallListener interface,
and reports state changes both of the Call and its Connections.
CallListener interface,
specific Connection object state changes are reported
to specific corresponding ConnectionListener methods.
The eventID carried by the event (a ConnectionEvent)
corresponds to the method called, and indicates which specific state change occurred.
ConnectionListener to a Call
via one of several mechanisms.
They may directly add a ConnectionListener by implementing
the ConnectionListener interface, and then invoking
the Call.addCallListener method.
Applications may also add ConnectionListener to Calls indirectly by implementing
the ConnectionListener interface, and then invoking the
Address.addCallListener and
Terminal.addCallListener methods. These methods add the given
listener to the Call when the Call comes to the Address or Terminal. See
the specifications for Call, Address, and Terminal for more information.
connectionAlerting,
connectionConnected,
connectionDisconnected,
connectionFailed,
connectionInProgress,
and connectionUnknown.
ConnectionEvent interface,
which in turn, extends the CallEvent event interface. In the core package, an
event is delivered to this interface whenever a Connection changes state.
CallEvent,
Connection,
ConnectionEvent,
TerminalConnectionEvent,
MetaEvent,
CallListener,
TerminalConnectionListener| Method Summary | |
void |
connectionAlerting(ConnectionEvent event)
The connectionAlerting method is called to report that the state of the
Connection object has changed to Connection.ALERTING. |
void |
connectionConnected(ConnectionEvent event)
The connectionConnected method is called to report that the state of the
Connection object has changed to Connection.CONNECTED. |
void |
connectionCreated(ConnectionEvent event)
The connectionCreated method is called to report that a new Connection
object has been created. |
void |
connectionDisconnected(ConnectionEvent event)
The connectionDisconnected method is called to report that the state of
the Connection object has changed to Connection.DISCONNECTED. |
void |
connectionFailed(ConnectionEvent event)
The connectionFailed method is called to report that the state of
the Connection object has changed to Connection.FAILED. |
void |
connectionInProgress(ConnectionEvent event)
The connectionInProgress method is called to report that the state of
the Connection object has changed to Connection.IN_PROGRESS. |
void |
connectionUnknown(ConnectionEvent event)
The connectionUnknown method is called to report that the state of
the Connection object has changed to Connection.UNKNOWN. |
| Methods inherited from interface javax.telephony.CallListener |
callActive, callEventTransmissionEnded, callInvalid, multiCallMetaMergeEnded, multiCallMetaMergeStarted, multiCallMetaTransferEnded, multiCallMetaTransferStarted, singleCallMetaProgressEnded, singleCallMetaProgressStarted, singleCallMetaSnapshotEnded, singleCallMetaSnapshotStarted |
| Method Detail |
public void connectionAlerting(ConnectionEvent event)
connectionAlerting method is called to report that the state of the
Connection object has changed to Connection.ALERTING.
event - A ConnectionEvent with eventID Connection.ALERTING.public void connectionConnected(ConnectionEvent event)
connectionConnected method is called to report that the state of the
Connection object has changed to Connection.CONNECTED.
event - A ConnectionEvent with eventID Connection.CONNECTED.public void connectionCreated(ConnectionEvent event)
connectionCreated method is called to report that a new Connection
object has been created.
event - A ConnectionEvent with eventID ConnectionEvent.IDLE.public void connectionDisconnected(ConnectionEvent event)
connectionDisconnected method is called to report that the state of
the Connection object has changed to Connection.DISCONNECTED.
event - A ConnectionEvent with eventID Connection.DISCONNECTED.
Connection,
ConnectionEventpublic void connectionFailed(ConnectionEvent event)
connectionFailed method is called to report that the state of
the Connection object has changed to Connection.FAILED.
event - A ConnectionEvent with eventID Connection.FAILED.
Connection,
ConnectionEventpublic void connectionInProgress(ConnectionEvent event)
connectionInProgress method is called to report that the state of
the Connection object has changed to Connection.IN_PROGRESS.
event - A ConnectionEvent with eventID Connection.IN_PROGRESS.
Connection,
Connectionpublic void connectionUnknown(ConnectionEvent event)
connectionUnknown method is called to report that the state of
the Connection object has changed to Connection.UNKNOWN.
event - A ConnectionEvent with eventID Connection.UNKNOWN.
Connection,
ConnectionEvent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||