com.siebel.rf.offline.branch.server
Class BranchServerRMIImpl
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--java.rmi.server.RemoteServer
|
+--com.siebel.rf.offline.branch.server.BranchServerRMIImpl
- All Implemented Interfaces:
- BranchServer, java.util.EventListener, OfflineListener, java.rmi.Remote, java.io.Serializable
- public class BranchServerRMIImpl
- extends java.rmi.server.RemoteServer
- implements BranchServer, OfflineListener
The BranchServerRMIImpl class
- See Also:
- Serialized Form
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 |
getClass, notify, notifyAll, wait, wait, wait |
BranchServerRMIImpl
public BranchServerRMIImpl()
handleRequest
public java.util.Vector handleRequest(java.util.Vector request,
java.util.Vector response,
boolean branchOnline)
throws com.bankframe.ejb.ProcessingErrorException
- Handles the request
- Specified by:
handleRequest
in interface BranchServer
- Parameters:
request
- Vectorresponse
- VectorbranchOnline
- boolean- Returns:
- the Vector of branch response
- Throws:
com.bankframe.ejb.ProcessingErrorException
- This exception is thrown if processing fails
registerClient
public int registerClient(OfflineClient client)
- Registers the clients
- Specified by:
registerClient
in interface BranchServer
- Parameters:
client
- OfflineClient- Returns:
- the onlineStatus
main
public static void main(java.lang.String[] args)
- Main method
handleEvent
public void handleEvent(OfflineEvent offlineEvent)
- Handles the OfflineEvent
- Specified by:
handleEvent
in interface OfflineListener
- Parameters:
offlineEvent
- OfflineEvent