|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
net.spy.rmi.RObjectImpl
Implementation for RObjectServer
| Field Summary |
| Fields inherited from class java.rmi.server.RemoteObject |
ref |
| Constructor Summary | |
RObjectImpl()
Get an RObjectImpl with the default directory. |
|
RObjectImpl(String basedir)
Get an RObjectImpl with the given directory. |
|
| Method Summary | |
Object |
getObject(String name)
Fetch an object from the object server. |
static void |
main(String[] args)
main can be invoked to run an RObjectServer. |
boolean |
ping()
Make sure the server is available and functioning. |
void |
storeObject(String name,
Object o)
Store an Object in the object server. |
| 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 RObjectImpl()
throws RemoteException
public RObjectImpl(String basedir)
throws RemoteException
| Method Detail |
public void storeObject(String name,
Object o)
throws RemoteException
RObject
storeObject in interface RObjectname - Key under which the object will be storedo - Object to store
RemoteException - when something breaksRObject
public Object getObject(String name)
throws RemoteException
RObject
getObject in interface RObjectname - Name of the object to fetch.
RemoteException - when something breaksRObject
public boolean ping()
throws RemoteException
RObject
ping in interface RObjectRemoteException - when something breaksRObject
public static void main(String[] args)
throws Exception
args - Uh, yeah, the arguments
Exception - if anything blows up
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||