Package com.caplin.motif
Interface UserSessionListener
public interface UserSessionListener
Implementers of UserSessionListener will be notified when a user has
created a trade channel with a particular
TradeAdapter
. Note that if
multiple trade channels are created with the adapter, only one invocation on
onUserSessionCreated(String)
will be fired.-
Method Summary
Modifier and TypeMethodDescriptionvoid
onUserSessionClosed
(String username) Called when a user session has been closed with the trade adapter.void
onUserSessionCreated
(String username) Called when a user session has been created with the trade adapter.
-
Method Details
-
onUserSessionCreated
Called when a user session has been created with the trade adapter.- Parameters:
username
- The username of the user that the session was created for.
-
onUserSessionClosed
Called when a user session has been closed with the trade adapter.- Parameters:
username
- The username of the user that the session was closed for.
-