public enum BufferType extends Enum<BufferType>
| 枚举常量和说明 |
|---|
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.
|
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 - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2019. All rights reserved.