JCC
v0.9.2

jain.application.services.jcp
Interface JcpCallListener

All Known Subinterfaces:
JccCallListener, JccConnectionListener, JcpConnectionListener

public interface JcpCallListener
extends java.util.EventListener

This interface reports all changes to the Call object. The JcpCallEvent interface is the base interface for all Call-related events. All Call-related events must extend this interface. Events which extend this interface are reported via the JcpCallListener interface.

An individual JcpCallEvent conveys one of a series of different possible Call state changes; the specific Call state change is indicated by the JcpEvent.getID() value returned by the event.

The JcpConnectionListener interface extends this interface. This reflects the fact that all Connection events can be reported via the JcpCallListener interface.

The JcpCallEvent.getCall() method on this interface returns the Call associated with the Call event.


Method Summary
 void callActive(JcpCallEvent callevent)
          Indicates that the state of the JcpCall object has changed to JcpCall.ACTIVE.
 void callCreated(JcpCallEvent callevent)
          Indicates that the state of the JcpCall object has changed to JcpCall.IDLE.
 void callEventTransmissionEnded(JcpCallEvent callevent)
          This method is called to indicate that the application will no longer receive JcpCallEvent events on the instance of the JcpCallListener.
 void callInvalid(JcpCallEvent callevent)
          Indicates that the state of the JcpCall object has changed to JcpCall.INVALID.
 

Method Detail

callActive

public void callActive(JcpCallEvent callevent)
Indicates that the state of the JcpCall object has changed to JcpCall.ACTIVE.
Parameters:
callevent - JcpCallEvent with eventID JcpCallEvent.CALL_ACTIVE.

callInvalid

public void callInvalid(JcpCallEvent callevent)
Indicates that the state of the JcpCall object has changed to JcpCall.INVALID.
Parameters:
callevent - JcpCallEvent with eventID JcpCallEvent.CALL_INVALID.

callEventTransmissionEnded

public void callEventTransmissionEnded(JcpCallEvent callevent)
This method is called to indicate that the application will no longer receive JcpCallEvent events on the instance of the JcpCallListener.
Parameters:
callevent - JcpCallEvent with eventID JcpCallEvent.CALL_EVENT_TRANSMISSION_ENDED.

callCreated

public void callCreated(JcpCallEvent callevent)
Indicates that the state of the JcpCall object has changed to JcpCall.IDLE.
Parameters:
callevent - JcpCallEvent with eventID JcpCallEvent.CALL_CREATED.

JCC
v0.9.2

29 Oct 2000
If you have any comments or queries, please mail them to jcc@research.telcordia.com


Copyright-2000 Sun Microsystems