org.crsh.telnet.term
Class TelnetLifeCycle
java.lang.Object
org.crsh.term.TermLifeCycle
org.crsh.telnet.term.TelnetLifeCycle
-
public class TelnetLifeCycle
- extends TermLifeCycle
-
Field Summary |
private Resource |
config
. |
private List<net.wimpi.telnetd.net.PortListener> |
listeners
. |
private Logger |
log
. |
private static ConcurrentHashMap<net.wimpi.telnetd.net.ConnectionManager,TelnetLifeCycle> |
map
. |
private Integer |
port
. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private final Logger log
-
.
port
private Integer port
-
.
listeners
private List<net.wimpi.telnetd.net.PortListener> listeners
-
.
map
private static final ConcurrentHashMap<net.wimpi.telnetd.net.ConnectionManager,TelnetLifeCycle> map
-
.
config
private Resource config
-
.
TelnetLifeCycle
public TelnetLifeCycle(PluginContext context)
getLifeCycle
static TelnetLifeCycle getLifeCycle(net.wimpi.telnetd.net.Connection conn)
-
getPort
public Integer getPort()
-
setPort
public void setPort(Integer port)
-
getConfig
public Resource getConfig()
-
setConfig
public void setConfig(Resource config)
-
doInit
protected void doInit()
throws Exception
-
- Specified by:
doInit
in class TermLifeCycle
-
- Throws:
Exception
doDestroy
protected void doDestroy()
-
- Specified by:
doDestroy
in class TermLifeCycle
-
Copyright © 2014 eXo Platform SAS. All Rights Reserved.