|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.crsh.term.TermLifeCycle
org.crsh.ssh.term.SSHLifeCycle
public class SSHLifeCycle
| Field Summary | |
|---|---|
private String |
authentication
. |
private Resource |
key
. |
private Integer |
localPort
. |
private Logger |
log
. |
static org.apache.sshd.common.Session.AttributeKey<String> |
PASSWORD
. |
private int |
port
. |
private org.apache.sshd.SshServer |
server
. |
static org.apache.sshd.common.Session.AttributeKey<String> |
USERNAME
. |
| Constructor Summary | |
|---|---|
SSHLifeCycle(PluginContext context)
|
|
| Method Summary | |
|---|---|
protected void |
doDestroy()
|
protected void |
doInit()
|
String |
getAuthentication()
|
Resource |
getKey()
|
Integer |
getLocalPort()
Returns the local part after the ssh server has been succesfully bound or null. |
int |
getPort()
|
void |
setAuthentication(String authentication)
|
void |
setKey(Resource key)
|
void |
setPort(int port)
|
| Methods inherited from class org.crsh.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 |
|---|
public static final org.apache.sshd.common.Session.AttributeKey<String> USERNAME
public static final org.apache.sshd.common.Session.AttributeKey<String> PASSWORD
private final Logger log
private org.apache.sshd.SshServer server
private int port
private Resource key
private String authentication
private Integer localPort
| Constructor Detail |
|---|
public SSHLifeCycle(PluginContext context)
| Method Detail |
|---|
public int getPort()
public void setPort(int port)
public Integer getLocalPort()
public Resource getKey()
public void setKey(Resource key)
public String getAuthentication()
public void setAuthentication(String authentication)
protected void doInit()
doInit in class TermLifeCycleprotected void doDestroy()
doDestroy in class TermLifeCycle
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||