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 |
| Methods inherited from class com.maverick.events.Event |
addAttribute, getAllAttributes, getAttribute, getError, getId, getState |
| Methods inherited from class com.maverick.events.EventObject |
getSource, toString |
SSHDEvent
public SSHDEvent(Object source,
int id,
boolean state)
- Parameters:
source - source of eventid - event codeboolean - state true=successful false=unsuccessful
SSHDEvent
public SSHDEvent(Object source,
int id,
Throwable error)
Copyright © 2012. All Rights Reserved.