JSR-043: JTAPI-1.4

javax.telephony.media.connection.async
Interface Async_MediaConnectionListener

All Superinterfaces:
java.util.EventListener, MediaListener

public interface Async_MediaConnectionListener
extends MediaListener

Transaction completion Listener for connect() and related methods.

Since:
JTAPI-1.4

Method Summary
 void onConnectDone(MediaConnectionEvent event)
          Connect complete.
 void onDisconnectDone(MediaConnectionEvent event)
          Disconnect complete.
 void onSetDataFlowDone(MediaConnectionEvent event)
          SetDataFlow complete.
 

Method Detail

onConnectDone

public void onConnectDone(MediaConnectionEvent event)
Connect complete. event.getEventID() is one of the connection type Symbols:
{ev_Bridge, ev_Join, ev_Loopback}.

event.getToken() identifies the connection:

Parameters:
event - the MediaConnectionEvent that is done.

onDisconnectDone

public void onDisconnectDone(MediaConnectionEvent event)
Disconnect complete. event.getEventID() = ev_Disconnect.

The event.getToken() identifies the connection and Group which has been disconnected. Token.dataFlow and Token.maxDataFlow are null.

event.getEventID() = connType = ev_Disconnect.

Parameters:
event - the MediaConnectionEvent that is done.

onSetDataFlowDone

public void onSetDataFlowDone(MediaConnectionEvent event)
SetDataFlow complete. event.getEventID() = ev_Disconnect.

The event.getToken() identifies the connection and Group which has been disconnected. Token.dataFlow and Token.maxDataFlow are null.

event.getEventID() = connType = ev_Disconnect.

Parameters:
event - the MediaConnectionEvent that is done.

JSR-043: JTAPI-1.4

Send comments to: JSR-43@ectf.org