public static enum SessionListener.Event extends Enum<SessionListener.Event>
Enum Constant and Description |
---|
Authenticated
Fired when the session is fully authenticated.
|
KexCompleted
Fired at the end of KEX negotiation, i.e., when both proposals have been handled and the
KeyExchange is initialized. |
KeyEstablished
Fired at the end of a key exchange once both parties have updated the message encoding/decoding; i.e., when
both parties have handled the peer's SSH_MSG_NEWKEY message.
|
Modifier and Type | Method and Description |
---|---|
static SessionListener.Event |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SessionListener.Event[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SessionListener.Event KeyEstablished
public static final SessionListener.Event Authenticated
public static final SessionListener.Event KexCompleted
KeyExchange
is initialized.public static SessionListener.Event[] values()
for (SessionListener.Event c : SessionListener.Event.values()) System.out.println(c);
public static SessionListener.Event valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2008–2024 The Apache Software Foundation. All rights reserved.