JCAT
v0.3.1

javax.csapi.cc.jcc
Interface JccCallEvent

All Superinterfaces:
JccEvent
All Known Subinterfaces:
JcatCallEvent, JcatConnectionEvent, JccConnectionEvent

public interface JccCallEvent
extends JccEvent

This is the base interface for all JccCall-related events.

Since:
1.0

Field Summary
static int CALL_ACTIVE
          The CALL_ACTIVE event indicates that the state of the Call object has changed to JccCall.ACTIVE.
static int CALL_CREATED
          The CALL_CREATED event indicates that the JccCall object has been created and is in the JccCall.IDLE state.
static int CALL_EVENT_TRANSMISSION_ENDED
          The CALL_EVENT_TRANSMISSION_ENDED event indicates that the application will no longer receive JccCall events from this call on the instance of the JccCallListener.
static int CALL_INVALID
          The CALL_INVALID event indicates that the state of the JccCall object has changed to JccCall.INVALID.
static int CALL_SUPERVISE_END
          The CALL_SUPERVISE_END event indicates that the supervision of the call has ended.
static int CALL_SUPERVISE_START
          The CALL_SUPERVISE_START event indicates that the supervision of the call has started.
 
Fields inherited from interface javax.csapi.cc.jcc.JccEvent
CAUSE_BUSY, CAUSE_CALL_CANCELLED, CAUSE_CALL_RESTRICTED, CAUSE_DEST_NOT_OBTAINABLE, CAUSE_GENERAL_FAILURE, CAUSE_INCOMPATIBLE_DESTINATION, CAUSE_LOCKOUT, CAUSE_MORE_DIGITS_NEEDED, CAUSE_NETWORK_CONGESTION, CAUSE_NETWORK_NOT_OBTAINABLE, CAUSE_NEW_CALL, CAUSE_NO_ANSWER, CAUSE_NORMAL, CAUSE_REDIRECTED, CAUSE_RESOURCES_NOT_AVAILABLE, CAUSE_SNAPSHOT, CAUSE_TIMER_EXPIRY, CAUSE_UNKNOWN, CAUSE_USER_NOT_AVAILABLE
 
Method Summary
 JccCall getCall()
          Returns the JccCall object associated with this event.
 
Methods inherited from interface javax.csapi.cc.jcc.JccEvent
getCause, getID, getSource
 

Field Detail

CALL_SUPERVISE_START

public static final int CALL_SUPERVISE_START
The CALL_SUPERVISE_START event indicates that the supervision of the call has started. The policy followed is that given in JccCall.superviseCall(JccCallListener,double,int).

See Also:
Constant Field Values

CALL_SUPERVISE_END

public static final int CALL_SUPERVISE_END
The CALL_SUPERVISE_END event indicates that the supervision of the call has ended. The policy followed is that given in JccCall.superviseCall(JccCallListener,double,int).

See Also:
Constant Field Values

CALL_ACTIVE

public static final int CALL_ACTIVE
The CALL_ACTIVE event indicates that the state of the Call object has changed to JccCall.ACTIVE.
This constant corresponds to a specific call state change, it is passed via a JccCallEvent event and is reported to the JccCallListener.callActive(JccCallEvent) method.

Since:
1.0b
See Also:
Constant Field Values

CALL_INVALID

public static final int CALL_INVALID
The CALL_INVALID event indicates that the state of the JccCall object has changed to JccCall.INVALID.
This constant corresponds to a specific call state change, it is passed via a JccCallEvent event and is reported to the JccCallListener.callInvalid(JccCallEvent) method.

Since:
1.0b
See Also:
Constant Field Values

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 JccCall events from this call on the instance of the JccCallListener.
This constant is passed via a JccCallEvent event and is reported to the JccCallListener.callEventTransmissionEnded(JccCallEvent) method.

Since:
1.0b
See Also:
Constant Field Values

CALL_CREATED

public static final int CALL_CREATED
The CALL_CREATED event indicates that the JccCall object has been created and is in the JccCall.IDLE state.
This constant corresponds to a specific call state change, it is passed via a JccCallEvent event and is reported to the JccCallListener.callCreated(JccCallEvent) method.

Since:
1.0b
See Also:
Constant Field Values
Method Detail

getCall

public JccCall getCall()
Returns the JccCall object associated with this event.

Returns:
JccCall represents the JccCall object associated with this JccCall event. The result of this call might be a cast of the result of JccEvent.getSource().
Since:
1.0b

JCAT
v0.3.1

August, 2003
If you have any comments or queries, please mail them to JSR-122-EG@JCP.ORG

Copyright - 2001, 2003 Sun Microsystems