com.cyclonecommerce.cybervan.api
Interface InterchangeServer


public interface InterchangeServer
extends RemoteInterchangeServer

Means of locally accessing Interchange Server functionality

Version:
2.2

Method Summary
 void setDocumentListener(DocumentListener listener)
          Sets the EventListener to be notified when an inbound document has arrived
 void setEventListener(InterchangeEventListener listener)
          Sets the EventListener to be notified when an event of any level has occured.
 
Methods inherited from interface com.cyclonecommerce.cybervan.api.RemoteInterchangeServer
isRunning, removeDocumentListener, removeEventListener, sendDocument, sendDocument, sendDocument, setDocumentListener
 

Method Detail

setDocumentListener

public void setDocumentListener(DocumentListener listener)
                         throws java.rmi.RemoteException
Sets the EventListener to be notified when an inbound document has arrived
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. This situation may or may not require manual intervention
Specified by:
setEventListener in interface RemoteInterchangeServer
Parameters:
listener - The EventListener
Throws:
java.rmi.RemoteException -