org.productivity.java.syslog4j.server.impl
Class AbstractSyslogServer.Sessions
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap
org.productivity.java.syslog4j.server.impl.AbstractSyslogServer.Sessions
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.util.Map
- Enclosing class:
- AbstractSyslogServer
public static class AbstractSyslogServer.Sessions
- extends java.util.HashMap
- See Also:
- Serialized Form
Nested classes/interfaces inherited from class java.util.AbstractMap |
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from class java.util.AbstractMap |
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
syncObject
public static final java.lang.Object syncObject
AbstractSyslogServer.Sessions
public AbstractSyslogServer.Sessions()
addSocket
public void addSocket(java.net.Socket socket)
getSockets
public java.util.Iterator getSockets()
addSession
public void addSession(java.net.Socket socket,
SyslogServerEventHandlerIF eventHandler,
java.lang.Object session)
removeSocket
public void removeSocket(java.net.Socket socket)
getHandlerMap
protected java.util.Map getHandlerMap(java.net.Socket socket)
getSession
public java.lang.Object getSession(java.net.Socket socket,
SyslogServerEventHandlerIF eventHandler)