public class SoftwareServerVersionManager extends BasicModule implements ServerSessionEventListener
Constructor and Description |
---|
SoftwareServerVersionManager() |
Modifier and Type | Method and Description |
---|---|
void |
sessionCreated(Session session)
Notification event indicating that a server has connected with the server.
|
void |
sessionDestroyed(Session session)
A connected session of a server was destroyed.
|
void |
start()
Starts the basic module.
|
void |
stop()
Stops the basic module.
|
destroy, getName, initialize
public void start() throws IllegalStateException
BasicModule
Starts the basic module.
Inheriting classes that choose to override this method MUST call this start() method before accessing BasicModule resources.
start
in interface Module
start
in class BasicModule
IllegalStateException
- If start is called before initialize
successfully returnspublic void stop()
BasicModule
Stops the basic module.
Inheriting classes that choose to override this method MUST call this stop() method before accessing BasicModule resources.
stop
in interface Module
stop
in class BasicModule
public void sessionCreated(Session session)
ServerSessionEventListener
sessionCreated
in interface ServerSessionEventListener
session
- the connected session of a serverpublic void sessionDestroyed(Session session)
ServerSessionEventListener
sessionDestroyed
in interface ServerSessionEventListener
session
- the connected session of a server.Copyright © 2003–2019 Ignite Realtime. All rights reserved.