public class AgentLoginService extends Object implements AgentService
| Modifier and Type | Class and Description |
|---|---|
static interface |
AgentLoginService.AgentLoginUpdateListener |
| Modifier and Type | Field and Description |
|---|---|
protected List<AgentLoginService.AgentLoginUpdateListener> |
agentLoginUpdateListeners |
protected Semaphore |
loginListenersSemaphore |
protected Object |
loginlUpdate |
| Constructor and Description |
|---|
AgentLoginService() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAgentLoginUpdateListener(AgentLoginService.AgentLoginUpdateListener aluListener) |
void |
disconnect() |
String |
getAgentServiceName()
Get the name of this service.
|
String |
getUserId()
Returns the ID of the logged in user.
|
void |
login(String userId,
String credentials) |
protected void |
notifyLoginListeners(String oldUserId,
String newUserId) |
void |
removeAgentLockUpdateListener(AgentLoginService.AgentLoginUpdateListener aluListener) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitstartForAgentprotected final List<AgentLoginService.AgentLoginUpdateListener> agentLoginUpdateListeners
protected final Object loginlUpdate
protected final Semaphore loginListenersSemaphore
public String getAgentServiceName()
AgentServicegetAgentServiceName in interface AgentServicepublic void disconnect()
public String getUserId()
public void addAgentLoginUpdateListener(AgentLoginService.AgentLoginUpdateListener aluListener)
public void removeAgentLockUpdateListener(AgentLoginService.AgentLoginUpdateListener aluListener)
Copyright © 2024 LSST. All rights reserved.