org.graphstream.stream
Interface Replayable.Controller

All Superinterfaces:
Source
Enclosing interface:
Replayable

public static interface Replayable.Controller
extends Source

A controller used to replay a source. Controller should be used as a source by adding sinks on it. When sinks are set, a call to replay() send events describing the current state of the original source to sinks.


Method Summary
 void replay()
          Replay events describing the current state of the object being built by the source.
 void replay(String sourceId)
          Same as #replay(Sink) but you can set the id of the source sent in events.
 
Methods inherited from interface org.graphstream.stream.Source
addAttributeSink, addElementSink, addSink, clearAttributeSinks, clearElementSinks, clearSinks, removeAttributeSink, removeElementSink, removeSink
 

Method Detail

replay

void replay()
Replay events describing the current state of the object being built by the source.


replay

void replay(String sourceId)
Same as #replay(Sink) but you can set the id of the source sent in events.

Parameters:
sourceId - id of the event source


Copyright © 2013. All Rights Reserved.