|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sibvisions.rad.server.Monitoring
public final class Monitoring
The Monitoring
class will be used as server-side object for
administer the communication server.
The object must be injected to a life-cycle object before it's usable.
You can inject the object with the following definition
@Inject(origin = "server", name = "monitoring") private Monitoring monitoring = null;
Constructor Summary | |
---|---|
Monitoring(Server pServer)
Creates an instance of Monitoring for a special
communication server. |
Method Summary | |
---|---|
void |
closeConnections(String pApplicationName)
Close all connections for a specific application. |
Object |
getLastDestroyedSessionId()
Gets the id of the last destroyed session. |
int |
getSessionCount()
Gets the number of opened sessions. |
ArrayUtil<Object> |
getSessionIds()
Gets the session identifiers of all currently opened sessions. |
void |
releaseSecurityManager(String pApplicationName)
Releases the security manger for a specific application. |
void |
sessionCreated(ISession pSession)
Invoked when a session was created and is ready to use. |
void |
sessionDestroyed(ISession pSession)
Invoked when a session was destroyed an can not be used anymore. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Monitoring(Server pServer)
Monitoring
for a special
communication server.
pServer
- the communication serverMethod Detail |
---|
public void sessionCreated(ISession pSession)
sessionCreated
in interface ISessionListener
pSession
- the newly created sessionpublic void sessionDestroyed(ISession pSession)
sessionDestroyed
in interface ISessionListener
pSession
- the destroyed sessionpublic int getSessionCount()
public Object getLastDestroyedSessionId()
public ArrayUtil<Object> getSessionIds()
public void closeConnections(String pApplicationName)
pApplicationName
- the application namepublic void releaseSecurityManager(String pApplicationName)
pApplicationName
- the application name.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |