visad.util
Class ClientServer

java.lang.Object
  extended by visad.util.ClientServer

public class ClientServer
extends java.lang.Object


Constructor Summary
ClientServer()
           
 
Method Summary
static RemoteServer connectToServer(java.lang.String hostName, java.lang.String serviceName)
           
static RemoteServer connectToServer(java.lang.String hostName, java.lang.String serviceName, boolean verbose)
           
static LocalDisplay getClientDisplay(RemoteServer client, int index)
           
static LocalDisplay getClientDisplay(RemoteServer client, int index, DataReference[] refs)
           
static LocalDisplay[] getClientDisplays(RemoteServer client)
           
static LocalDisplay[] getClientDisplays(RemoteServer client, DataReference[] refs)
           
static RemoteServerImpl startServer(java.lang.String serviceName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientServer

public ClientServer()
Method Detail

connectToServer

public static RemoteServer connectToServer(java.lang.String hostName,
                                           java.lang.String serviceName)
                                    throws java.rmi.RemoteException,
                                           VisADException
Throws:
java.rmi.RemoteException
VisADException

connectToServer

public static RemoteServer connectToServer(java.lang.String hostName,
                                           java.lang.String serviceName,
                                           boolean verbose)
                                    throws java.rmi.RemoteException,
                                           VisADException
Throws:
java.rmi.RemoteException
VisADException

getClientDisplay

public static LocalDisplay getClientDisplay(RemoteServer client,
                                            int index)
                                     throws java.rmi.RemoteException,
                                            VisADException
Throws:
java.rmi.RemoteException
VisADException

getClientDisplay

public static LocalDisplay getClientDisplay(RemoteServer client,
                                            int index,
                                            DataReference[] refs)
                                     throws java.rmi.RemoteException,
                                            VisADException
Throws:
java.rmi.RemoteException
VisADException

getClientDisplays

public static LocalDisplay[] getClientDisplays(RemoteServer client)
                                        throws java.rmi.RemoteException,
                                               VisADException
Throws:
java.rmi.RemoteException
VisADException

getClientDisplays

public static LocalDisplay[] getClientDisplays(RemoteServer client,
                                               DataReference[] refs)
                                        throws java.rmi.RemoteException,
                                               VisADException
Throws:
java.rmi.RemoteException
VisADException

startServer

public static RemoteServerImpl startServer(java.lang.String serviceName)
                                    throws java.rmi.RemoteException,
                                           VisADException
Throws:
java.rmi.RemoteException
VisADException