Package repast.simphony.ws
Class DataServer
java.lang.Object
repast.simphony.ws.DataServer
- All Implemented Interfaces:
DataSink
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Appends the specified data to this sink.void
close()
Close this DataSink.void
flush()
Flushes any data buffered by this DataSink.void
Open this DataSink.void
Notified this DataSink that the current record has ended.void
rowEnded()
Notifies this DataSink that the last append was end of a "row."void
Notifies this DataSink that the next append is that start of a "row." of data.void
sendUpdate
(boolean force)
-
Constructor Details
-
DataServer
-
-
Method Details
-
open
Description copied from interface:DataSink
Open this DataSink. -
rowStarted
public void rowStarted()Description copied from interface:DataSink
Notifies this DataSink that the next append is that start of a "row." of data.- Specified by:
rowStarted
in interfaceDataSink
-
append
Description copied from interface:DataSink
Appends the specified data to this sink. The key can be, for example, a column name and the value the current value for that column. -
rowEnded
public void rowEnded()Description copied from interface:DataSink
Notifies this DataSink that the last append was end of a "row." -
sendUpdate
public void sendUpdate(boolean force) -
recordEnded
public void recordEnded()Description copied from interface:DataSink
Notified this DataSink that the current record has ended.- Specified by:
recordEnded
in interfaceDataSink
-
flush
public void flush()Description copied from interface:DataSink
Flushes any data buffered by this DataSink. -
close
public void close()Description copied from interface:DataSink
Close this DataSink.
-