Package trading.keysquare.api.session
Class KeySessionFactory
java.lang.Object
trading.keysquare.api.session.KeySessionFactory
Factory for creating
KeySession instances.-
Method Summary
Modifier and TypeMethodDescriptionstatic KeySessioncreate(NanoClock nanoClock, KeySessionContext context, KeySessionListener listener) Create a session with the provided listener and clock.static KeySessioncreate(KeySessionContext context) Create a session.static KeySessioncreate(KeySessionContext context, KeySessionListener listener) Create a session with the provided listener.
-
Method Details
-
create
Create a session. -
create
Create a session with the provided listener. -
create
public static KeySession create(NanoClock nanoClock, KeySessionContext context, KeySessionListener listener) Create a session with the provided listener and clock.
-