public static interface ClientService.ActiveAgentChangedListener
| Modifier and Type | Method and Description |
|---|---|
void |
activeAgentChanged(RichAgent oldAgent,
SessionToken oldSession,
RichAgent newAgent,
SessionToken newSession)
The active agent has been changed.
|
void activeAgentChanged(RichAgent oldAgent, SessionToken oldSession, RichAgent newAgent, SessionToken newSession)
null and accordingly when
logging off the new agent and the session will be null.oldAgent - The agent which is not active any more or
null in case no agent has been logged on before.oldSession - A session token for the old agent allowing to do
cleanup. This will be null in case no agent has
been logged on before.newAgent - The agent which is active from now on or
null in case no agent is logged on any more.newSession - A session token for the new agent signalling the active
agent change. This will be null in case no agent is
logged on any more.