FreeHEP API
Version v1.2.2

hep.aida.ref.remote.rmi.server
Class RmiServerImpl

java.lang.Object
  |
  +--java.rmi.server.RemoteObject
        |
        +--java.rmi.server.RemoteServer
              |
              +--java.rmi.server.UnicastRemoteObject
                    |
                    +--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

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
RmiServerImpl(AidaTreeServer aidaServer)
          Creates a new instance of RmiClientImpl
 
Method Summary
 void connect()
           
 RmiServant connectDuplex(RmiClient client)
           
 RmiServant connectNonDuplex(String clientID)
           
 void disconnect()
           
 boolean disconnectDuplex(RmiClient client)
           
 boolean disconnectNonDuplex(String clientID)
           
 String getBindName()
           
static void main(String[] args)
           
 boolean supportDuplexMode()
           
 String treeName()
           
 
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

RmiServerImpl

public RmiServerImpl(AidaTreeServer aidaServer)
              throws MalformedURLException,
                     RemoteException,
                     UnknownHostException
Creates a new instance of RmiClientImpl

Method Detail

connect

public void connect()
             throws MalformedURLException,
                    RemoteException,
                    UnknownHostException
MalformedURLException
RemoteException
UnknownHostException

disconnect

public void disconnect()

getBindName

public String getBindName()
                   throws RemoteException
Specified by:
getBindName in interface RmiServer
RemoteException

connectDuplex

public RmiServant connectDuplex(RmiClient client)
                         throws RemoteException
Specified by:
connectDuplex in interface RmiServer
RemoteException

connectNonDuplex

public RmiServant connectNonDuplex(String clientID)
                            throws RemoteException
Specified by:
connectNonDuplex in interface RmiServer
RemoteException

disconnectDuplex

public boolean disconnectDuplex(RmiClient client)
                         throws RemoteException
Specified by:
disconnectDuplex in interface RmiServer
RemoteException

disconnectNonDuplex

public boolean disconnectNonDuplex(String clientID)
                            throws RemoteException
Specified by:
disconnectNonDuplex in interface RmiServer
RemoteException

supportDuplexMode

public boolean supportDuplexMode()
                          throws RemoteException
Specified by:
supportDuplexMode in interface RmiServer
RemoteException

treeName

public String treeName()
                throws RemoteException
Specified by:
treeName in interface RmiServer
RemoteException

main

public static void main(String[] args)
                 throws Exception
Exception

FreeHEP API
Version v1.2.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.