public class NetSocketBase
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
(package private) static CentralLogger |
LOG
Logger
|
private java.util.ArrayList<SessionListener> |
sessionListeners
Stores a list of
SessionListeners |
(package private) static boolean |
TRACE_LM
Trace operations' with large messages flag
|
| Constructor and Description |
|---|
NetSocketBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSessionListener(SessionListener sessionListener)
Adds a session listener.
|
java.util.List<SessionListener> |
getSessionListeners()
Gets the list with added session listeners.
|
static final CentralLogger LOG
static final boolean TRACE_LM
private java.util.ArrayList<SessionListener> sessionListeners
SessionListenerspublic java.util.List<SessionListener> getSessionListeners()
null if none has
been added.public void addSessionListener(SessionListener sessionListener)
sessionListener - A session listener to be added.