|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.rmi.server.RemoteObject java.rmi.server.RemoteServer java.rmi.server.UnicastRemoteObject visad.RemoteServerImpl
public class RemoteServerImpl
Field Summary |
---|
Fields inherited from class java.rmi.server.RemoteObject |
---|
ref |
Constructor Summary | |
---|---|
RemoteServerImpl()
|
|
RemoteServerImpl(RemoteDataReferenceImpl[] rs)
|
|
RemoteServerImpl(RemoteDataReferenceImpl[] rs,
RemoteDisplayImpl[] rd)
construct a RemoteServerImpl and initialize it with an array of RemoteDataReferenceImpls |
|
RemoteServerImpl(RemoteDisplayImpl[] rd)
|
Method Summary | |
---|---|
void |
addDataReference(DataReferenceImpl ref)
Add a DataReferenceImpl to server (after wrapping it in a RemoteDataReferenceImpl) |
void |
addDataReference(RemoteDataReferenceImpl ref)
add a new RemoteDataReferenceImpl to server and extend array |
void |
addDisplay(DisplayImpl di)
add DisplayImpl to server (after wrapping it in a RemoteDisplayImpl) |
void |
addDisplay(RemoteDisplayImpl rd)
add a new RemoteDisplayImpl to server and extend array |
RemoteDataReference |
getDataReference(int index)
get a RemoteDataReference by index |
RemoteDataReference |
getDataReference(String name)
get a RemoteDataReference by name |
RemoteDataReference[] |
getDataReferences()
return array of all RemoteDataReferences in this RemoteServer |
RemoteDisplay |
getDisplay(int index)
get a RemoteDisplay by index |
RemoteDisplay |
getDisplay(String name)
get a RemoteDisplay by name |
RemoteDisplay[] |
getDisplays()
return array of all RemoteDisplays in this RemoteServer |
void |
removeDataReference(RemoteDataReferenceImpl ref)
remove a RemoteDataReferenceImpl from server and shrink size of array |
void |
removeDisplay(RemoteDisplayImpl rd)
remove a RemoteDisplayImpl from server and shrink size of array |
void |
setDataReference(int index,
RemoteDataReferenceImpl ref)
set one RemoteDataReference in the array on this RemoteServer (and extend length of array if necessary) |
void |
setDataReferences(RemoteDataReferenceImpl[] rs)
set array of all RemoteDataReferences on this RemoteServer |
void |
setDisplays(RemoteDisplayImpl[] rd)
set all RemoteDisplayImpls to serve |
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 |
---|
public RemoteServerImpl() throws RemoteException
RemoteException
public RemoteServerImpl(RemoteDataReferenceImpl[] rs) throws RemoteException
RemoteException
public RemoteServerImpl(RemoteDisplayImpl[] rd) throws RemoteException
RemoteException
public RemoteServerImpl(RemoteDataReferenceImpl[] rs, RemoteDisplayImpl[] rd) throws RemoteException
RemoteException
Method Detail |
---|
public RemoteDataReference getDataReference(int index) throws RemoteException
getDataReference
in interface RemoteServer
RemoteException
public RemoteDataReference getDataReference(String name) throws VisADException, RemoteException
getDataReference
in interface RemoteServer
VisADException
RemoteException
public RemoteDataReference[] getDataReferences() throws RemoteException
getDataReferences
in interface RemoteServer
RemoteException
public void setDataReference(int index, RemoteDataReferenceImpl ref) throws VisADException
VisADException
public void addDataReference(DataReferenceImpl ref) throws RemoteException
RemoteException
public void addDataReference(RemoteDataReferenceImpl ref)
addDataReference
in interface RemoteServer
public void setDataReferences(RemoteDataReferenceImpl[] rs)
setDataReferences
in interface RemoteServer
public void removeDataReference(RemoteDataReferenceImpl ref)
removeDataReference
in interface RemoteServer
public RemoteDisplay[] getDisplays() throws RemoteException
getDisplays
in interface RemoteServer
RemoteException
public RemoteDisplay getDisplay(int index)
getDisplay
in interface RemoteServer
public RemoteDisplay getDisplay(String name) throws VisADException, RemoteException
getDisplay
in interface RemoteServer
VisADException
RemoteException
public void addDisplay(DisplayImpl di) throws RemoteException
RemoteException
public void addDisplay(RemoteDisplayImpl rd)
addDisplay
in interface RemoteServer
public void setDisplays(RemoteDisplayImpl[] rd)
setDisplays
in interface RemoteServer
public void removeDisplay(RemoteDisplayImpl rd)
removeDisplay
in interface RemoteServer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |