public enum BufferType extends Enum<BufferType>
Enum Constant and Description |
---|
IN_CIPHER
IN_CIPHER is called peerNetData in Java docs and represents the
encrypted data that the peer sent.
|
IN_PLAIN
IN_PLAIN is called peerAppData in Java docs and represents the original
unencrypted data that the peer sent.
|
OUT_CIPHER
OUT_CIPHER is called myNetData in Java docs and represents the
encrypted data that the hosts transmits.
|
OUT_PLAIN
OUT_PLAIN is called myAppData in Java docs and represents the plain
data that the host app wishes to transmit.
|
Modifier and Type | Method and Description |
---|---|
static BufferType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BufferType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BufferType IN_PLAIN
public static final BufferType IN_CIPHER
public static final BufferType OUT_PLAIN
public static final BufferType OUT_CIPHER
public static BufferType[] values()
for (BufferType c : BufferType.values()) System.out.println(c);
public static BufferType 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 © 2021. All rights reserved.