
public class Gateway extends Object implements ModuleActivator, SessionEventListener
Sessions, and boot them from the configuration folder.| Modifier and Type | Field and Description |
|---|---|
DependencyProxy<IBusMemberRegistry> |
busTracker |
ModuleContext |
context |
DependencyProxy<MessageContentSerializer> |
serializer |
DependencyProxy<SpaceManager> |
spaceManager |
DependencyProxy<TenantManager> |
tenantManager |
| Constructor and Description |
|---|
Gateway() |
| Modifier and Type | Method and Description |
|---|---|
void |
endServer(Server s) |
void |
endSession(Session s) |
Exporter |
getExporter() |
static Gateway |
getInstance() |
String |
getName() |
String |
getName(Server s) |
String |
getName(Session s) |
ProxyPool |
getPool() |
Collection<Server> |
getServers() |
Collection<Session> |
getSessions() |
void |
newServer(String name,
Server s) |
void |
newSession(String name,
Session s) |
void |
start(ModuleContext mc) |
void |
statusChange(SessionEvent se) |
void |
stop(ModuleContext mc) |
public DependencyProxy<SpaceManager> spaceManager
public DependencyProxy<TenantManager> tenantManager
public DependencyProxy<MessageContentSerializer> serializer
public DependencyProxy<IBusMemberRegistry> busTracker
public ModuleContext context
public static Gateway getInstance()
public Collection<Server> getServers()
public Collection<Session> getSessions()
public void start(ModuleContext mc) throws Exception
start in interface ModuleActivatorExceptionpublic void endServer(Server s)
public void endSession(Session s)
public void stop(ModuleContext mc) throws Exception
stop in interface ModuleActivatorExceptionpublic Exporter getExporter()
public ProxyPool getPool()
public void statusChange(SessionEvent se)
statusChange in interface SessionEventListenerse - the event that has been generatedpublic String getName()
getName in interface SessionEventListenerSessionEventListener used mainly for
debugging purposeCopyright © 2018 universAAL Consortium. All rights reserved.