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
RmiServerImpl
public RmiServerImpl(AidaTreeServer aidaServer)
throws MalformedURLException,
RemoteException,
UnknownHostException
- Creates a new instance of RmiClientImpl
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
Copyright © 2000-2003 FreeHEP, All Rights Reserved.