Package org.matsim.vis.otfvis.interfaces
Interface OTFServer
-
- All Known Subinterfaces:
OTFLiveServer
- All Known Implementing Classes:
OnTheFlyServer
,OTFFileReader
public interface OTFServer
OTFServerRemote is the one most important interface for the communication between client and server. All methods necessary for data exchange are bundled in this interface.- Author:
- dstrippgen
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getLocalTime()
OTFVisConfigGroup
getOTFVisConfig()
OTFServerQuadTree
getQuad(OTFConnectionManager connect)
byte[]
getQuadConstStateBuffer()
byte[]
getQuadDynStateBuffer(org.matsim.core.utils.collections.QuadTree.Rect bounds)
Collection<Double>
getTimeSteps()
boolean
isFinished()
boolean
isLive()
void
requestNewTime(int time)
void
setShowNonMovingItems(boolean showNonMovingItems)
-
-
-
Method Detail
-
requestNewTime
void requestNewTime(int time)
-
getQuad
OTFServerQuadTree getQuad(OTFConnectionManager connect)
-
getQuadConstStateBuffer
byte[] getQuadConstStateBuffer()
-
getQuadDynStateBuffer
byte[] getQuadDynStateBuffer(org.matsim.core.utils.collections.QuadTree.Rect bounds)
-
getLocalTime
int getLocalTime()
-
isLive
boolean isLive()
- Returns:
- If the server is "live" (i.e. has user control) or not.
-
getTimeSteps
Collection<Double> getTimeSteps()
-
setShowNonMovingItems
void setShowNonMovingItems(boolean showNonMovingItems)
-
isFinished
boolean isFinished()
-
getOTFVisConfig
OTFVisConfigGroup getOTFVisConfig()
-
-