org.csapi.jr.se.pam.event
Interface PAMEventHandler

All Superinterfaces:
CsapiInterface, java.io.Serializable, Service

public interface PAMEventHandler
extends Service

This interface represents a PAMEventHandler.


Field Summary
 
Fields inherited from interface org.csapi.jr.se.Service
IN_SERVICE_STATE, OUT_OF_SERVICE_STATE
 
Method Summary
 void addPAMEventHandlerListener(org.csapi.jr.se.pam.event.PAMEventHandlerListener pAMEventHandlerListener)
          Adds a PAMEventHandlerListener which is interested in events generated by the PAMEventHandler.
 org.csapi.jr.se.pam.event.AppInterface createAppInterface()
          Creates a AppInterface object and returns a reference to the interface used to gain access to it's methods.
 org.csapi.jr.se.pam.event.ForEvent createForEvent()
          Creates a ForEvent object and returns a reference to the interface used to gain access to it's methods.
 void deregisterAppInterface(byte[] authToken)
          Invokes the deregisterAppInterface() method on the Parlay Gateway.
 void deregisterFromEvent(byte[] authToken)
          Invokes the deregisterFromEvent() method on the Parlay Gateway.
 boolean isRegistered(byte[] authToken)
          Invokes the isRegistered() method on the Parlay Gateway.
 void removePAMEventHandlerListener(org.csapi.jr.se.pam.event.PAMEventHandlerListener pAMEventHandlerListener)
          Removes a PAMEventHandlerListener which is no longer interested in events generated by the PAMEventHandler.
 
Methods inherited from interface org.csapi.jr.se.Service
addServiceStateChangeListener, getServiceState, removeServiceStateChangeListener, setCallback
 

Method Detail

addPAMEventHandlerListener

public void addPAMEventHandlerListener(org.csapi.jr.se.pam.event.PAMEventHandlerListener pAMEventHandlerListener)
Adds a PAMEventHandlerListener which is interested in events generated by the PAMEventHandler.

Parameters:
pAMEventHandlerListener - A reference to the PAMEventHandlerListener which is to be added as a listener.

removePAMEventHandlerListener

public void removePAMEventHandlerListener(org.csapi.jr.se.pam.event.PAMEventHandlerListener pAMEventHandlerListener)
Removes a PAMEventHandlerListener which is no longer interested in events generated by the PAMEventHandler.

Parameters:
pAMEventHandlerListener - A reference to the PAMEventHandlerListener which is to be removed as a listener.

isRegistered

public boolean isRegistered(byte[] authToken)
                     throws PlatformException,
                            CommonException,
                            PamInvalidCredentialException
Invokes the isRegistered() method on the Parlay Gateway.

PlatformException
CommonException
PamInvalidCredentialException

deregisterAppInterface

public void deregisterAppInterface(byte[] authToken)
                            throws PlatformException,
                                   CommonException,
                                   PamNotRegisteredException,
                                   PamInvalidCredentialException
Invokes the deregisterAppInterface() method on the Parlay Gateway.

PlatformException
CommonException
PamNotRegisteredException
PamInvalidCredentialException

deregisterFromEvent

public void deregisterFromEvent(byte[] authToken)
                         throws PlatformException,
                                CommonException,
                                PamNotRegisteredException,
                                PamInvalidCredentialException
Invokes the deregisterFromEvent() method on the Parlay Gateway.

PlatformException
CommonException
PamNotRegisteredException
PamInvalidCredentialException

createForEvent

public org.csapi.jr.se.pam.event.ForEvent createForEvent()
Creates a ForEvent object and returns a reference to the interface used to gain access to it's methods.

Returns:
A reference to the ForEvent interface.

createAppInterface

public org.csapi.jr.se.pam.event.AppInterface createAppInterface()
Creates a AppInterface object and returns a reference to the interface used to gain access to it's methods.

Returns:
A reference to the AppInterface interface.