|
JSR-043: JTAPI-1.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Listener for non-transactional events generated by a MediaService.
Fields inherited from interface javax.telephony.media.MediaConstants |
e_OK, q_Duration, q_Standard, q_Stop |
Method Summary | |
void |
onConnected(MediaServiceEvent event)
Invoked when the [JTAPI] Connection to a MediaService is CONNECTED. |
void |
onDisconnected(MediaServiceEvent event)
A [JTAPI] Connection to the MediaService has been disconnected. |
void |
onRetrieved(MediaServiceEvent event)
A previous owner has retrieved the MediaGroup of this MediaService. |
Method Detail |
public void onDisconnected(MediaServiceEvent event)
Connection.DISCONNECTED
.
Related processing:
If event.getEventID().equals(ev_Disconnected, and (a_StopOnDisconnect == TRUE) then all resource transactions have been terminated.
If event.getEventID().equals(ev_TerminalIdle), then there are no more Connections to the Terminal, and all resource transactions have been terminated.
Corresponds to CCR_ECTF_State = CCR_ECTF_Idle, in S.100. ?
event
- a MediaServiceEvent with EventID:
ev_Disconnected or ev_TerminalIdlepublic void onConnected(MediaServiceEvent event)
The Connection to the MediaService is now CONNECTED, the media stream is active and available.
event
- a MediaServiceEvent with EventID:
ev_Connectedpublic void onRetrieved(MediaServiceEvent event)
event.getEventID().equals(ev_Retrieved)
event.getQualifier().equals(retrieval cause Symbol)
Note: onRetrieved() may be invoked even if this application is not using delegation! Any application that uses bindToServiceName() may receive a MediaGroup from an application that will later decide to retrieve it.
Note: if the MediaGroup is retrieved while this MediaService has delegated the MediaGroup, then delegateToService will complete with getQualifier().equals(ev_Retrieved) and the cause Symbol is available using event.getRetrieveCause().
Note:
parameter is a simple MediaServiceEvent!
The only relevant info is the retrieveCause;
and that goes in the qualifier.
event
- a MediaServiceEvent with EventID:
ev_RetrievedDelegation.retrieve(javax.telephony.media.Symbol)
|
JSR-043: JTAPI-1.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |