visad
Interface RemoteServer
-
- All Superinterfaces:
- java.rmi.Remote
- All Known Implementing Classes:
- RemoteServerImpl
public interface RemoteServer extends java.rmi.RemoteRemoteServer is the interface for serving RemoteDataReferences. A RemoteServerImpl should be bound to a URL via Naming.rebind, and accessed remotely via this RemoteServer interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description voidaddDataReference(RemoteDataReferenceImpl ref)add a new RemoteDataReferenceImpl to server and extend arrayvoidaddDisplay(RemoteDisplayImpl rd)add a new RemoteDisplayImpl to server and extend arrayRemoteDataReferencegetDataReference(int index)return the RemoteDataReference with index on this RemoteServer, or nullRemoteDataReferencegetDataReference(java.lang.String name)return the RemoteDataReference with name on this RemoteServer, or nullRemoteDataReference[]getDataReferences()return an array of all RemoteDataReferences on this RemoteServer, or nullRemoteDisplaygetDisplay(int index)get a RemoteDisplay by indexRemoteDisplaygetDisplay(java.lang.String name)get a RemoteDisplay by nameRemoteDisplay[]getDisplays()return array of all RemoteDisplays in this RemoteServervoidremoveDataReference(RemoteDataReferenceImpl ref)remove a RemoteDataReferenceImpl from server and shrink size of arrayvoidremoveDisplay(RemoteDisplayImpl rd)remove a RemoteDisplayImpl from server and shrink size of arrayvoidsetDataReferences(RemoteDataReferenceImpl[] rs)set array of all RemoteDataReferences on this RemoteServervoidsetDisplays(RemoteDisplayImpl[] rd)set all RemoteDisplayImpls to serve
-
-
-
Method Detail
-
getDataReference
RemoteDataReference getDataReference(int index) throws java.rmi.RemoteException
return the RemoteDataReference with index on this RemoteServer, or null- Throws:
java.rmi.RemoteException
-
getDataReference
RemoteDataReference getDataReference(java.lang.String name) throws VisADException, java.rmi.RemoteException
return the RemoteDataReference with name on this RemoteServer, or null- Throws:
VisADExceptionjava.rmi.RemoteException
-
getDataReferences
RemoteDataReference[] getDataReferences() throws java.rmi.RemoteException
return an array of all RemoteDataReferences on this RemoteServer, or null- Throws:
java.rmi.RemoteException
-
addDataReference
void addDataReference(RemoteDataReferenceImpl ref) throws java.rmi.RemoteException
add a new RemoteDataReferenceImpl to server and extend array- Throws:
java.rmi.RemoteException
-
setDataReferences
void setDataReferences(RemoteDataReferenceImpl[] rs) throws java.rmi.RemoteException
set array of all RemoteDataReferences on this RemoteServer- Throws:
java.rmi.RemoteException
-
removeDataReference
void removeDataReference(RemoteDataReferenceImpl ref) throws java.rmi.RemoteException
remove a RemoteDataReferenceImpl from server and shrink size of array- Throws:
java.rmi.RemoteException
-
getDisplays
RemoteDisplay[] getDisplays() throws java.rmi.RemoteException
return array of all RemoteDisplays in this RemoteServer- Throws:
java.rmi.RemoteException
-
getDisplay
RemoteDisplay getDisplay(int index) throws java.rmi.RemoteException
get a RemoteDisplay by index- Throws:
java.rmi.RemoteException
-
getDisplay
RemoteDisplay getDisplay(java.lang.String name) throws VisADException, java.rmi.RemoteException
get a RemoteDisplay by name- Throws:
VisADExceptionjava.rmi.RemoteException
-
addDisplay
void addDisplay(RemoteDisplayImpl rd) throws java.rmi.RemoteException
add a new RemoteDisplayImpl to server and extend array- Throws:
java.rmi.RemoteException
-
setDisplays
void setDisplays(RemoteDisplayImpl[] rd) throws java.rmi.RemoteException
set all RemoteDisplayImpls to serve- Throws:
java.rmi.RemoteException
-
removeDisplay
void removeDisplay(RemoteDisplayImpl rd) throws java.rmi.RemoteException
remove a RemoteDisplayImpl from server and shrink size of array- Throws:
java.rmi.RemoteException
-
-
DMelt 3.0 © DataMelt by jWork.ORG