public class FlowControl
extends java.lang.Object
| Constructor | Description |
|---|---|
FlowControl(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 data
store.
|
void |
save(ch.hsr.adv.commons.core.logic.domain.Session session,
java.io.File file) |
Delegates saving sessions to the access layer
|
@Inject public FlowControl(SessionStore sessionStore, ServiceProvider serviceProvider, LayoutedSnapshotStore layoutedSnapshotStore, EventManager eventManager, CoreParser coreParser, CoreLayouter coreLayouter, CoreStringifyer coreStringifyer, DatastoreAccess fileAccess)
public void load(java.lang.String sessionJSON)
sessionJSON - jsonpublic void save(ch.hsr.adv.commons.core.logic.domain.Session session,
java.io.File file)
session - the loaded sessionfile - the file to save the session to