com.ibm.retail.AEF.client
Interface KeyConsumerProxyInterface

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
KeyConsumerProxy

public interface KeyConsumerProxyInterface
extends java.rmi.Remote

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

removeConsumer

public void removeConsumer()
                    throws java.rmi.RemoteException,
                           AEFException
Removes this proxy as a KeyConsumer of the Workstation.

Throws:
java.rmi.RemoteException - if remote access fails
AEFException

keyPress

public boolean keyPress(com.ibm.retail.AEF.workstation.KeyCode key)
                 throws java.rmi.RemoteException
A function or data key has been pressed.

Parameters:
key - KeyCode object contains information about the key press
java.rmi.RemoteException


Copyright © 2004 IBM. All Rights Reserved.
Generated: July 19 2004