hep.aida.ref.remote.rmi.server
Class RmiServantImpl
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--java.rmi.server.RemoteServer
|
+--java.rmi.server.UnicastRemoteObject
|
+--hep.aida.ref.remote.rmi.server.RmiServantImpl
- All Implemented Interfaces:
- AidaTreeClient, Remote, RmiServant, Serializable
- public class RmiServantImpl
- extends UnicastRemoteObject
- implements RmiServant, AidaTreeClient
- Author:
- serbo
- See Also:
- Serialized Form
RmiServantImpl
public RmiServantImpl()
throws RemoteException
- Creates a new instance of RmiClientImpl
RmiServantImpl
public RmiServantImpl(RmiClient rmiClient)
throws RemoteException
RmiServantImpl
public RmiServantImpl(AidaTreeServant aidaServant)
throws RemoteException
RmiServantImpl
public RmiServantImpl(RmiClient rmiClient,
AidaTreeServant aidaServant)
throws RemoteException
findConverter
protected RmiConverter findConverter(String aidaType)
find
public Object find(String path)
throws RemoteException
- Specified by:
find
in interface RmiServant
RemoteException
listObjectNames
public String[] listObjectNames(String path)
throws RemoteException
- Specified by:
listObjectNames
in interface RmiServant
RemoteException
listObjectTypes
public String[] listObjectTypes(String path)
throws RemoteException
- Specified by:
listObjectTypes
in interface RmiServant
RemoteException
setValid
public void setValid(String[] nodePaths)
throws RemoteException
- Specified by:
setValid
in interface RmiServant
RemoteException
updates
public AidaUpdateEvent[] updates()
throws RemoteException
- Specified by:
updates
in interface RmiServant
RemoteException
stateChanged
public void stateChanged(AidaUpdateEvent[] events)
- Description copied from interface:
AidaTreeClient
- This method can be called by AidaTreeServant to notify
AideTreeClient about updates in the server-side ITree.
If "Duplex Mode" is not used, AideTreeClient has to call
updates() method of AideTreeServant to get a list of current
updates.
- Specified by:
stateChanged
in interface AidaTreeClient
Copyright © 2000-2003 FreeHEP, All Rights Reserved.