public class RemoteServerImpl extends UnicastRemoteObject implements RemoteServer
ref
Constructor and Description |
---|
RemoteServerImpl() |
RemoteServerImpl(RemoteDataReferenceImpl[] rs) |
RemoteServerImpl(RemoteDataReferenceImpl[] rs,
RemoteDisplayImpl[] rd)
construct a RemoteServerImpl and initialize it with
an array of RemoteDataReferenceImpls
|
RemoteServerImpl(RemoteDisplayImpl[] rd) |
Modifier and Type | Method and Description |
---|---|
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
|
clone, exportObject, exportObject, exportObject, unexportObject
getClientHost, getLog, setLog
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
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
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.