JCC
v1.0

jain.application.services.jcp
Interface JcpProviderEvent

All Superinterfaces:
JcpEvent

public interface JcpProviderEvent
extends JcpEvent

This is the base interface for all JcpProvider related events. All events which pertain to the JcpProvider object must extend this interface. Events which extend this interface are reported via the JcpProviderListener interface.


Field Summary
static int PROVIDER_EVENT_TRANSMISSION_ENDED
          indicates that the application will no longer receive JcpProvider Events.
static int PROVIDER_IN_SERVICE
          This indicates that the state of the JcpProvider object has changed to JcpProvider.IN_SERVICE.
static int PROVIDER_OUT_OF_SERVICE
          This also indicates that the state of the JcpProvider object has changed to JcpProvider.OUT_OF_SERVICE.
static int PROVIDER_SHUTDOWN
          This also indicates that the state of the JcpProvider object has changed to JcpProvider.SHUTDOWN.
 
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
 JcpProvider getProvider()
          returns the JcpProvider associated with this JcpProvider Event.
 
Methods inherited from interface jain.application.services.jcp.JcpEvent
getCause, getID, getSource
 

Field Detail

PROVIDER_IN_SERVICE

public static final int PROVIDER_IN_SERVICE
This indicates that the state of the JcpProvider object has changed to JcpProvider.IN_SERVICE. This constant indicates a specific event passed via a JcpProviderEvent event and is reported on the JcpProviderListener interface.

PROVIDER_OUT_OF_SERVICE

public static final int PROVIDER_OUT_OF_SERVICE
This also indicates that the state of the JcpProvider object has changed to JcpProvider.OUT_OF_SERVICE. This constant indicates a specific event passed via a JcpProviderEvent event and is reported on the JcpProviderListener interface.

PROVIDER_SHUTDOWN

public static final int PROVIDER_SHUTDOWN
This also indicates that the state of the JcpProvider object has changed to JcpProvider.SHUTDOWN. This constant indicates a specific event passed via a JcpProviderEvent event and is reported on the JcpProviderListener interface.

PROVIDER_EVENT_TRANSMISSION_ENDED

public static final int PROVIDER_EVENT_TRANSMISSION_ENDED
indicates that the application will no longer receive JcpProvider Events. This constant indicates a specific event passed via a JcpProviderEvent event and is reported on the JcpProviderListener interface.
Method Detail

getProvider

public JcpProvider getProvider()
returns the JcpProvider associated with this JcpProvider Event. The result of this call might be a cast of the result of JcpEvent.getSource().
Returns:
The JcpProvider associated with this event.

JCC
v1.0

January 19, 2001
If you have any comments or queries, please mail them to m-JAIN-JCC@notes.cc.telcordia.com

Copyright - 2001 Sun Microsystems