com.maverick.sshd.events
Class SSHDEvent
java.lang.Object
com.maverick.events.EventObject
com.maverick.events.Event
com.maverick.sshd.events.SSHDEvent
public class SSHDEvent
- extends com.maverick.events.Event
Superclass of all events that may be fired during the life of SSHD.
All events have the following attributes in common :-
- Event code. This is an
int and must be unique across the
whole of SSHD.
- State. A boolean specifying whether the event is the result of a
successful operation or a failed one.
| Fields inherited from class com.maverick.events.EventObject |
source |
|
Constructor Summary |
SSHDEvent(java.lang.Object source,
int id,
boolean state)
|
SSHDEvent(java.lang.Object source,
int id,
java.lang.Throwable error)
|
| Methods inherited from class com.maverick.events.Event |
addAttribute, getAllAttributes, getAttribute, getError, getId, getState |
| Methods inherited from class com.maverick.events.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SSHDEvent
public SSHDEvent(java.lang.Object source,
int id,
boolean state)
- Parameters:
source - source of eventid - event codeboolean - state true=successful false=unsuccessful
SSHDEvent
public SSHDEvent(java.lang.Object source,
int id,
java.lang.Throwable error)
Copyright © 2003-2008 SSHTools LTD. All Rights Reserved.