org.crsh.telnet.term
Class TelnetLifeCycle

java.lang.Object
  extended by org.crsh.telnet.term.TermLifeCycle
      extended by 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
          .
 
Constructor Summary
TelnetLifeCycle(PluginContext context)
           
 
Method Summary
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)
           
 
Methods inherited from class org.crsh.telnet.term.TermLifeCycle
destroy, getContext, getHandler, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
.

Constructor Detail

TelnetLifeCycle

public TelnetLifeCycle(PluginContext context)
Method Detail

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 © 2015 eXo Platform SAS. All Rights Reserved.