org.fosstrak.ale.server.readers.llrp
Class Callback
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
org.fosstrak.ale.server.readers.llrp.Callback
- All Implemented Interfaces:
- java.io.Serializable, java.rmi.Remote, org.fosstrak.llrp.adaptor.AsynchronousNotifiable
public class Callback
- extends java.rmi.server.UnicastRemoteObject
- implements org.fosstrak.llrp.adaptor.AsynchronousNotifiable
creates a callback instance that retrieves asynchronous messages.
- Author:
- sawielan
- See Also:
- Serialized Form
Fields inherited from class java.rmi.server.RemoteObject |
ref |
Constructor Summary |
Callback(LLRPAdaptor adaptor)
creates a callback instance that retrieves asynchronous messages. |
Method Summary |
void |
notify(byte[] message,
java.lang.String readerName)
|
void |
notifyError(org.fosstrak.llrp.adaptor.exception.LLRPRuntimeException e,
java.lang.String readerName)
|
Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Callback
public Callback(LLRPAdaptor adaptor)
throws java.rmi.RemoteException
- creates a callback instance that retrieves asynchronous messages.
- Parameters:
adaptor
- the adaptor associated to this callback.
- Throws:
java.rmi.RemoteException
- when there is an rmi exception.
notify
public void notify(byte[] message,
java.lang.String readerName)
throws java.rmi.RemoteException
- Specified by:
notify
in interface org.fosstrak.llrp.adaptor.AsynchronousNotifiable
- Throws:
java.rmi.RemoteException
notifyError
public void notifyError(org.fosstrak.llrp.adaptor.exception.LLRPRuntimeException e,
java.lang.String readerName)
throws java.rmi.RemoteException
- Specified by:
notifyError
in interface org.fosstrak.llrp.adaptor.AsynchronousNotifiable
- Throws:
java.rmi.RemoteException
Copyright © 2009. All Rights Reserved.