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 particularTradeAdapter
. Note that if multiple trade channels are created with the adapter, only one invocation ononUserSessionCreated(String)
will be fired.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onUserSessionClosed(java.lang.String username)
Called when a user session has been closed with the trade adapter.void
onUserSessionCreated(java.lang.String username)
Called when a user session has been created with the trade adapter.
-
-
-
Method Detail
-
onUserSessionCreated
void onUserSessionCreated(java.lang.String username)
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
void onUserSessionClosed(java.lang.String username)
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.
-
-