Class RemoteApplication

  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by java.rmi.server.UnicastRemoteObject
              extended by helma.framework.core.RemoteApplication
All Implemented Interfaces:
IRemoteApp, IReplicationListener, java.io.Serializable, java.rmi.Remote

public class RemoteApplication
extends java.rmi.server.UnicastRemoteObject
implements IRemoteApp, IReplicationListener

Proxy class for Aplication that listens to requests via RMI.

See Also:
Serialized Form

Field Summary
Fields inherited from class java.rmi.server.RemoteObject
Constructor Summary
RemoteApplication(Application app)
          Creates a new RemoteApplication object.
Method Summary
 ResponseTrans execute(RequestTrans req)
          Execute a request coming in from a web client.
 void ping()
          ping method to let clients know if the server is reachable
 void replicateCache(java.util.Vector add, java.util.Vector delete)
          Update HopObjects in this application's cache.
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

Constructor Detail


public RemoteApplication(Application app)
                  throws java.rmi.RemoteException
Creates a new RemoteApplication object.

app - ...
java.rmi.RemoteException - ...
Method Detail


public void ping()
ping method to let clients know if the server is reachable

Specified by:
ping in interface IRemoteApp


public ResponseTrans execute(RequestTrans req)
Execute a request coming in from a web client.

Specified by:
execute in interface IRemoteApp
req - ...


public void replicateCache(java.util.Vector add,
                           java.util.Vector delete)
Update HopObjects in this application's cache. This is used to replicate application caches in a distributed app environment

Specified by:
replicateCache in interface IReplicationListener

Copyright © 1998-1998-${year} Helma.org. All Rights Reserved.