ICatchIPancamControl interface
package com.icatchtek.pancam.customer;public interface ICatchIPancamControl {...}
This class is used to control properties, settings related to the current session, such as adding and removing event listeners.
Public methods
addEventListener
void addEventListener(int eventID,ICatchIPancamListener listener)throws com.icatchtek.reliant.customer.exception.IchListenerExistsException,com.icatchtek.reliant.customer.exception.IchInvalidSessionException
Add event listener to this current session.
Parameters:
- eventID - The eventID with which this event listener belongs to.
- listener - The event listener which will be added.**
Throws:
- com.icatchtek.reliant.customer.exception.IchListenerExistsException - Indicates the corresponded event listener already exists.
- com.icatchtek.reliant.customer.exception.IchInvalidSessionException - Invalid session, the session may be destroyed.
removeEventListener
void removeEventListener(int eventID,ICatchIPancamListener listener)throws com.icatchtek.reliant.customer.exception.IchListenerNotExistsException,com.icatchtek.reliant.customer.exception.IchInvalidSessionException
Remove event listener from this current session.
Parameters:
- eventID - The eventID with which this event listener belongs to.
- listener - The event listener which will be removed.**
Throws:
- com.icatchtek.reliant.customer.exception.IchListenerNotExistsException - Indicates the corresponded event listener not exists.
- com.icatchtek.reliant.customer.exception.IchInvalidSessionException - Invalid session, the session may be destroyed.
