|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The KeyConsumerProxyInterface API provides a proxy object for remote listeners/consumers of POS keyboard events.
Remote proxy objects extend the appropriate RMI server classes which handle the RMI duties for the client (so the client does not need to deal with rmi server issues).
To use this proxy object, the client must implement the KeyConsumer interface and aqquire the Workstation object from the AEFSession to monitor. The proxy object is then constructed passing a reference to the client and the workstation. The proxy object provides the listener registration interface for the client and forwards all events from the workstation to the client.
Method Summary | |
---|---|
boolean |
keyPress(com.ibm.retail.AEF.workstation.KeyCode key)
A function or data key has been pressed. |
void |
removeConsumer()
Removes this proxy as a KeyConsumer of the Workstation. |
Method Detail |
public void removeConsumer() throws java.rmi.RemoteException, AEFException
java.rmi.RemoteException
- if remote access fails
AEFException
public boolean keyPress(com.ibm.retail.AEF.workstation.KeyCode key) throws java.rmi.RemoteException
key
- KeyCode object contains information about the key press
java.rmi.RemoteException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |