FlowControlpublic class ADVFlowControl extends java.lang.Object implements FlowControl
| Constructor | Description |
|---|---|
ADVFlowControl(SessionStore sessionStore,
ServiceProvider serviceProvider,
LayoutedSnapshotStore layoutedSnapshotStore,
EventManager eventManager,
CoreParser coreParser,
CoreLayouter coreLayouter,
CoreStringifyer coreStringifyer,
DatastoreAccess fileAccess) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
load(java.lang.String sessionJSON) |
Parses and stores incoming json either from the socket or the file
system.
|
void |
save(ch.hsr.adv.commons.core.logic.domain.Session session,
java.io.File file) |
Delegates saving sessions to the access layer
|
@Inject public ADVFlowControl(SessionStore sessionStore, ServiceProvider serviceProvider, LayoutedSnapshotStore layoutedSnapshotStore, EventManager eventManager, CoreParser coreParser, CoreLayouter coreLayouter, CoreStringifyer coreStringifyer, DatastoreAccess fileAccess)
public void load(java.lang.String sessionJSON)
load in interface FlowControlsessionJSON - jsonpublic void save(ch.hsr.adv.commons.core.logic.domain.Session session,
java.io.File file)
save in interface FlowControlsession - the loaded sessionfile - the file to save the session