com.bankframe.ei.txnhandler.storeandforward.forwardoperations
Interface ForwardOperations

All Known Subinterfaces:
ForwardOperations
All Known Implementing Classes:
ForwardOperationsBean

public interface ForwardOperations

This interface defines the remote interface for the ForwardOperations session EJB.


Method Summary
 boolean forwardNextRequest()
          This method will try and forward the next request in the store.
 boolean forwardRequest(int sequenceNumber)
          This method will try and forward the request specified by the sequence number.
 boolean isStoreEmpty()
          This method will test if there are any requests on the store.
 void updateDestination(java.lang.String status)
          This method will ammend the online/offline status of the destination associated with this operation
 

Method Detail

forwardNextRequest

public boolean forwardNextRequest()
                           throws ProcessingErrorException,
                                  java.rmi.RemoteException
This method will try and forward the next request in the store.

Returns:
true if the forwarding is successful and the request has been removed from the queue, otherwise false and the request remmians on the queue.
Throws:
ProcessingErrorException
java.rmi.RemoteException

forwardRequest

public boolean forwardRequest(int sequenceNumber)
                       throws ProcessingErrorException,
                              java.rmi.RemoteException
This method will try and forward the request specified by the sequence number.

Returns:
true if the forwarding is successful and the request has been removed from the queue, otherwise false and the request remmians on the queue
ProcessingErrorException
java.rmi.RemoteException

isStoreEmpty

public boolean isStoreEmpty()
                     throws ProcessingErrorException,
                            java.rmi.RemoteException
This method will test if there are any requests on the store.

Returns:
true if the store is empty, otherwise false
Throws:
ProcessingErrorException
java.rmi.RemoteException

updateDestination

public void updateDestination(java.lang.String status)
                       throws ProcessingErrorException,
                              java.rmi.RemoteException
This method will ammend the online/offline status of the destination associated with this operation

Parameters:
status - the new status
Throws:
ProcessingErrorException
java.rmi.RemoteException


Copyright © 2005 Siebel Systems, Inc. All rights reserved.