public class TelnetLifeCycle extends TermLifeCycle
Modifier and Type | Field and Description |
---|---|
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
.
|
Constructor and Description |
---|
TelnetLifeCycle(PluginContext context) |
Modifier and Type | Method and Description |
---|---|
protected void |
doDestroy() |
protected void |
doInit() |
Resource |
getConfig() |
(package private) static TelnetLifeCycle |
getLifeCycle(net.wimpi.telnetd.net.Connection conn) |
Integer |
getPort() |
void |
setConfig(Resource config) |
void |
setPort(Integer port) |
destroy, getContext, getHandler, init
private static final ConcurrentHashMap<net.wimpi.telnetd.net.ConnectionManager,TelnetLifeCycle> map
public TelnetLifeCycle(PluginContext context)
static TelnetLifeCycle getLifeCycle(net.wimpi.telnetd.net.Connection conn)
protected void doInit() throws Exception
doInit
in class TermLifeCycle
Exception
protected void doDestroy()
doDestroy
in class TermLifeCycle
Copyright © 2015 eXo Platform SAS. All Rights Reserved.