|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.fosstrak.ale.server.readers.rp.InputGenerator
public class InputGenerator
This class is the connector between the reader protocol and the ALE. It creates the necessary objects on the reader device to get all required data.
Constructor Summary | |
---|---|
InputGenerator(RPAdaptor adaptor)
Constructor sets parameter and starts initializer. |
Method Summary | |
---|---|
void |
dataReceived(org.fosstrak.reader.rprm.core.msg.notification.Notification notification)
This method is invoked if a notification is arrived at the notification channel end-point. |
boolean |
isFailed()
This method indicates if the initialization of the input generator is failed or not. |
boolean |
isReady()
This method indicates if the input generator is ready or not. |
void |
poll()
polls the rp-proxy for all tags available. |
void |
remove()
This method removes all objects on the reader device which are created by this input generator. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InputGenerator(RPAdaptor adaptor) throws org.fosstrak.ale.wsdl.ale.epcglobal.ImplementationExceptionResponse
adaptor
- the adaptor holding this inputGenerator
org.fosstrak.ale.wsdl.ale.epcglobal.ImplementationException
- if an implementation exception occurs
org.fosstrak.ale.wsdl.ale.epcglobal.ImplementationExceptionResponse
Method Detail |
---|
public void dataReceived(org.fosstrak.reader.rprm.core.msg.notification.Notification notification)
dataReceived
in interface org.fosstrak.reader.rp.proxy.NotificationChannelListener
notification
- from the reader devicepublic boolean isReady()
public boolean isFailed()
public void remove()
public void poll() throws org.fosstrak.reader.rp.proxy.RPProxyException
org.fosstrak.reader.rp.proxy.RPProxyException
- when the polling failed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |