public enum Mechanisms extends Enum<Mechanisms>
| Modifier and Type | Method and Description |
|---|---|
abstract void |
check(Options options) |
abstract Mechanism |
create(SessionBase session,
Address peerAddress,
Options options) |
boolean |
isMechanism(ByteBuffer greetingRecv) |
static Mechanisms |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Mechanisms[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Mechanisms NULL
public static final Mechanisms PLAIN
public static final Mechanisms CURVE
public static final Mechanisms GSSAPI
public static Mechanisms[] values()
for (Mechanisms c : Mechanisms.values()) System.out.println(c);
public static Mechanisms 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 nullpublic abstract Mechanism create(SessionBase session, Address peerAddress, Options options)
public abstract void check(Options options)
public boolean isMechanism(ByteBuffer greetingRecv)
Copyright © 2020. All rights reserved.