|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RmiDataSink
A data sink acts as an rmi-server capable of handling data of a certain
type issued to it via an RMI-call. The only data format allowed is a list
of VectorG elements, which can either be added, #addData or
set (i.e. replace old data if there is any) with #setData.
Some sinks may also need #metaData assigned to before they can
definitely answer the #acceptsData question. Metadata might be
as simple as a designation which indices carries dependent and independent
variables, error estimates to this data etc. Some sinks may further be
RmiVariableDepending.
Proper implementations of this interface may display data in a datacanvas.
| Method Summary | |
|---|---|
boolean |
rmiAcceptsData(String type)
Return true, if this sink accepts the flavour of this data. |
boolean |
rmiAddData(List<VectorG> d)
Adds this data to the sink. |
boolean |
rmiAddData(Map<Object,VectorG> d)
For data that is not discernible by an index, but rather by a key. |
boolean |
rmiClearData()
Clears all data. |
boolean |
rmiMetaData(Map<String,? extends Serializable> meta)
Assigns some meta-data to the data sink, providing additional information on how to interpret the data. |
boolean |
rmiSetData(List<VectorG> d)
Sets this data as the only data in the sink. |
boolean |
rmiSetData(Map<Object,VectorG> d)
For data that is not discernible by an index, but rather by a key. |
| Method Detail |
|---|
boolean rmiAcceptsData(String type)
throws RemoteException
#addData or
#setData return true, but returning false here guarantees that
these both methods will return false and thus the effort can be spared.
RemoteException
boolean rmiMetaData(Map<String,? extends Serializable> meta)
throws RemoteException
RemoteException
boolean rmiClearData()
throws RemoteException
#setData should have the same effect
as calling this method, followed by an addData.
RemoteException
boolean rmiAddData(List<VectorG> d)
throws RemoteException
RemoteException
boolean rmiAddData(Map<Object,VectorG> d)
throws RemoteException
RemoteException
boolean rmiSetData(List<VectorG> d)
throws RemoteException
RemoteException
boolean rmiSetData(Map<Object,VectorG> d)
throws RemoteException
RemoteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||