JCAT
v0.3.1

javax.csapi.cc.jcc
Interface JccProviderListener

All Superinterfaces:
java.util.EventListener

public interface JccProviderListener
extends java.util.EventListener

Interface for notifying changes happening in a JccProvider. These changes are reported as events to the JccProviderListener method corresponding to the type of event. Applications must instantiate an object which implements this interface and then use the addProviderListener(JccProviderListener) method to register the object to receive all future events associated with the JccProvider object.

Since:
1.0b

Method Summary
 void providerEventTransmissionEnded(JccProviderEvent providerevent)
          Indicates that this instance of JccProviderListener will no longer receive JccProvider events from the instance of JccProvider.
 void providerInService(JccProviderEvent providerevent)
          Indicates that the state of the JccProvider has changed to JccProvider.IN_SERVICE.
 void providerOutOfService(JccProviderEvent providerevent)
          Indicates that the state of the JccProvider has changed to JccProvider.OUT_OF_SERVICE.
 void providerShutdown(JccProviderEvent providerevent)
          Indicates that the state of the JccProvider has changed to JccProvider.SHUTDOWN.
 

Method Detail

providerInService

public void providerInService(JccProviderEvent providerevent)
Indicates that the state of the JccProvider has changed to JccProvider.IN_SERVICE.

Parameters:
providerevent - JccProviderEvent with event ID PROVIDER_IN_SERVICE.

providerOutOfService

public void providerOutOfService(JccProviderEvent providerevent)
Indicates that the state of the JccProvider has changed to JccProvider.OUT_OF_SERVICE.

Parameters:
providerevent - JccProviderEvent with event ID PROVIDER_OUT_OF_SERVICE.

providerShutdown

public void providerShutdown(JccProviderEvent providerevent)
Indicates that the state of the JccProvider has changed to JccProvider.SHUTDOWN.

Parameters:
providerevent - JccProviderEvent with event ID PROVIDER_SHUTDOWN.

providerEventTransmissionEnded

public void providerEventTransmissionEnded(JccProviderEvent providerevent)
Indicates that this instance of JccProviderListener will no longer receive JccProvider events from the instance of JccProvider.

Parameters:
providerevent - JccProviderEvent with event ID PROVIDER_EVENT_TRANSMISSION_ENDED.

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