public class SshEvent extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
SESSION_CLOSED |
static int |
SESSION_OPENED |
Constructor and Description |
---|
SshEvent(int event,
java.lang.String target)
Create a new ssh event with the given parameters.
|
Modifier and Type | Method and Description |
---|---|
int |
getEvent()
Return the type of event.
|
java.lang.String |
getTarget()
Return the target as string.
|
java.lang.String |
toString()
Return a string representation of this event.
|
public static int SESSION_OPENED
public static int SESSION_CLOSED
public SshEvent(int event, java.lang.String target)
event
- The type of event.target
- The remote target involved.public java.lang.String getTarget()
public int getEvent()
public java.lang.String toString()
toString
in class java.lang.Object