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

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

public interface AppInterface
extends Activity

This interface represents a AppInterface activity object.


Field Summary
 
Fields inherited from interface org.csapi.jr.se.Activity
ACTIVE_STATE, IDLE_STATE, INVALID_STATE
 
Method Summary
 void addAppInterfaceListener(org.csapi.jr.se.pam.event.AppInterfaceListener appInterfaceListener)
          Adds a AppInterfaceListener which is interested in events generated by the AppInterface.
 org.csapi.jr.se.pam.event.PAMEventHandler getPAMEventHandler()
          Returns a reference to the PAMEventHandler responsible for creation of the AppInterface.
 void registerAppInterface(byte[] authToken)
          Invokes the registerAppInterface() method on the Parlay Gateway.
 void removeAppInterfaceListener(org.csapi.jr.se.pam.event.AppInterfaceListener appInterfaceListener)
          Removes a AppInterfaceListener which is no longer interested events generated by the AppInterface.
 
Methods inherited from interface org.csapi.jr.se.Activity
addActivityStateChangeListener, getState, removeActivityStateChangeListener
 

Method Detail

getPAMEventHandler

public org.csapi.jr.se.pam.event.PAMEventHandler getPAMEventHandler()
Returns a reference to the PAMEventHandler responsible for creation of the AppInterface.

Returns:
A reference to the PAMEventHandler responsible for creation of the AppInterface.

addAppInterfaceListener

public void addAppInterfaceListener(org.csapi.jr.se.pam.event.AppInterfaceListener appInterfaceListener)
Adds a AppInterfaceListener which is interested in events generated by the AppInterface.

Parameters:
appInterfaceListener - A reference to the AppInterfaceListener which is to be added as a listener.

removeAppInterfaceListener

public void removeAppInterfaceListener(org.csapi.jr.se.pam.event.AppInterfaceListener appInterfaceListener)
Removes a AppInterfaceListener which is no longer interested events generated by the AppInterface.

Parameters:
appInterfaceListener - A reference to the AppInterfaceListener which is to be removed as a listener.

registerAppInterface

public void registerAppInterface(byte[] authToken)
                          throws PlatformException,
                                 java.lang.IllegalStateException,
                                 CommonException,
                                 PamInvalidCredentialException
Invokes the registerAppInterface() method on the Parlay Gateway.

PlatformException
java.lang.IllegalStateException
CommonException
PamInvalidCredentialException