jain.jcp
Interface JcpProviderEvent


public interface JcpProviderEvent
extends Event

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.jcp.Event
CAUSE_CALL_CANCELLED, CAUSE_DEST_NOT_OBTAINABLE, CAUSE_INCOMPATIBLE_DESTINATION, CAUSE_LOCKOUT, 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.jcp.Event
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.
Returns:
The JcpProvider associated with this event.


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


Copyright-2000 Sun Microsystems