hep.aida.ref.remote.rmi.server
Class RmiServerImpl
java.lang.Object
   java.rmi.server.RemoteObject
java.rmi.server.RemoteObject
       java.rmi.server.RemoteServer
java.rmi.server.RemoteServer
           java.rmi.server.UnicastRemoteObject
java.rmi.server.UnicastRemoteObject
               hep.aida.ref.remote.rmi.server.RmiServerImpl
hep.aida.ref.remote.rmi.server.RmiServerImpl
- All Implemented Interfaces: 
- Remote, RmiServer, Serializable
- public class RmiServerImpl- extends UnicastRemoteObject- implements RmiServer
- Author:
- serbo
- See Also:
- Serialized Form
- Source Code:
- RmiServerImpl.java
 
 
 
 
 
 
 
 
RmiServerImpl
public RmiServerImpl(AidaTreeServer aidaServer)
              throws MalformedURLException,
                     RemoteException,
                     UnknownHostException
- Creates a new instance of RmiClientImpl
 
RmiServerImpl
public RmiServerImpl(AidaTreeServer aidaServer,
                     String bindName)
              throws MalformedURLException,
                     RemoteException,
                     UnknownHostException
setUseValidation
public void setUseValidation(boolean state)
- If useValidation = true, client has to call "setValid" method after
 receiving update from the ManagedObject in order to reseive next update.
 If useValidation = false, client receives all updates.
 
- 
 
- 
 
connect
public void connect()
             throws MalformedURLException,
                    RemoteException,
                    UnknownHostException
- 
 
- 
- Throws:
- MalformedURLException
- RemoteException
- UnknownHostException
 
disconnect
public void disconnect()
- 
 
- 
 
getBindName
public String getBindName()
                   throws RemoteException
- 
- Specified by:
- getBindNamein interface- RmiServer
 
- 
- Throws:
- RemoteException
 
connectDuplex
public RmiServant connectDuplex(RmiClient client)
                         throws RemoteException
- 
- Specified by:
- connectDuplexin interface- RmiServer
 
- 
- Throws:
- RemoteException
 
connectNonDuplex
public RmiServant connectNonDuplex(String clientID)
                            throws RemoteException
- 
- Specified by:
- connectNonDuplexin interface- RmiServer
 
- 
- Throws:
- RemoteException
 
disconnectDuplex
public boolean disconnectDuplex(RmiClient client)
                         throws RemoteException
- 
- Specified by:
- disconnectDuplexin interface- RmiServer
 
- 
- Throws:
- RemoteException
 
disconnectNonDuplex
public boolean disconnectNonDuplex(String clientID)
                            throws RemoteException
- 
- Specified by:
- disconnectNonDuplexin interface- RmiServer
 
- 
- Throws:
- RemoteException
 
supportDuplexMode
public boolean supportDuplexMode()
                          throws RemoteException
- 
- Specified by:
- supportDuplexModein interface- RmiServer
 
- 
- Throws:
- RemoteException
 
treeName
public String treeName()
                throws RemoteException
- 
- Specified by:
- treeNamein interface- RmiServer
 
- 
- Throws:
- RemoteException
 
main
public static void main(String[] args)
                 throws Exception
- 
 
- 
- Throws:
- Exception
 
Copyright © 2000-2004 FreeHEP, All Rights Reserved.