jain.application.services.jcp
Interface JcpCallEvent
- All Superinterfaces:
- JcpEvent
- All Known Subinterfaces:
- JccCallEvent, JccConnectionEvent, JcpConnectionEvent
- public interface JcpCallEvent
- extends JcpEvent
This is the base interface for all JcpCall-related events. Events which extend this interface
are reported via methods on the JcpCallListener
interface.
Field Summary |
static int |
CALL_ACTIVE
The CALL_ACTIVE event
indicates that the state of the Call object has changed to JcpCall.ACTIVE . |
static int |
CALL_CREATED
The CALL_CREATED event
indicates that the JcpCall object has been created and is in the
JcpCall.IDLE state. |
static int |
CALL_EVENT_TRANSMISSION_ENDED
The CALL_EVENT_TRANSMISSION_ENDED
event indicates that the application will no longer receive JcpCall events on
the instance of the JcpCallListener. |
static int |
CALL_INVALID
The CALL_INVALID event
indicates that the state of the JcpCall object has changed to JcpCall.INVALID . |
Fields inherited from interface jain.application.services.jcp.JcpEvent |
CAUSE_CALL_CANCELLED, CAUSE_DEST_NOT_OBTAINABLE, CAUSE_INCOMPATIBLE_DESTINATION, CAUSE_LOCKOUT, CAUSE_MORE_DIGITS_NEEDED, CAUSE_NETWORK_CONGESTION, CAUSE_NETWORK_NOT_OBTAINABLE, CAUSE_NEW_CALL, CAUSE_NORMAL, CAUSE_REDIRECTED, CAUSE_RESOURCES_NOT_AVAILABLE, CAUSE_SNAPSHOT, CAUSE_UNKNOWN |
Method Summary |
JcpCall |
getCall()
Returns the JcpCall object associated with this event. |
CALL_ACTIVE
public static final int CALL_ACTIVE
- The CALL_ACTIVE event
indicates that the state of the Call object has changed to
JcpCall.ACTIVE
.
This constant corresponds to a specific call state change, is passed via a
JcpCallEvent event and is reported to the JcpCallListener.callActive(JcpCallEvent)
method.
CALL_INVALID
public static final int CALL_INVALID
- The CALL_INVALID event
indicates that the state of the JcpCall object has changed to
JcpCall.INVALID
.
This constant corresponds to a specific call state change, is passed via a
JcpCallEvent event and is reported to the JcpCallListener.callInvalid(JcpCallEvent)
method.
CALL_EVENT_TRANSMISSION_ENDED
public static final int CALL_EVENT_TRANSMISSION_ENDED
- The CALL_EVENT_TRANSMISSION_ENDED
event indicates that the application will no longer receive JcpCall events on
the instance of the JcpCallListener.
This constant corresponds to a specific call state change, is passed via a
JcpCallEvent event and is reported to the JcpCallListener.callEventTransmissionEnded(JcpCallEvent)
method.
CALL_CREATED
public static final int CALL_CREATED
- The CALL_CREATED event
indicates that the JcpCall object has been created and is in the
JcpCall.IDLE
state.
This constant corresponds to a specific call state change, is passed via a
JcpCallEvent event and is reported to the JcpCallListener.callCreated(JcpCallEvent)
method.
getCall
public JcpCall getCall()
- Returns the JcpCall object associated with this event.
- Returns:
- JcpCall represents the JcpCall object associated with this JcpCall event. The result of this call might be a cast of the result of
JcpEvent.getSource()
.
January 19, 2001
If you have any comments or queries, please mail them to m-JAIN-JCC@notes.cc.telcordia.comCopyright - 2001 Sun Microsystems