com.cyclonecommerce.cybervan.api
Interface InterchangeServer
- All Superinterfaces:
- java.rmi.Remote, RemoteInterchangeServer
- public interface InterchangeServer
- extends RemoteInterchangeServer
Interface implemented by the Interchange Server. This interface should be
used by a Client wishing to register a EventListener or DocumentListener.
Once registered Interchange will call the registered client(s).
setDocumentListener
public void setDocumentListener(DocumentListener listener)
throws java.rmi.RemoteException
- Sets the EventListener to be notified when an inbound document
has arrived. Used to register a DocumentListener with the Interchange Server.
- Parameters:
listener
- The EventListener- Throws:
java.rmi.RemoteException
-
setEventListener
public void setEventListener(InterchangeEventListener listener)
throws java.rmi.RemoteException
- Sets the EventListener to be notified when an event of any
level has occured. Used to register an EventListener with the InterchangeServer.
- Specified by:
setEventListener
in interface RemoteInterchangeServer
- Parameters:
listener
- The EventListener- Throws:
java.rmi.RemoteException
-