public class PingFrame extends Frame
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
PING_LENGTH |
DEFAULT_MAX_LENGTH, EMPTY_ARRAY, HEADER_LENGTH, MAX_MAX_LENGTHpublic static final int PING_LENGTH
public PingFrame(boolean reply)
reply - whether this PING frame is a replypublic PingFrame(long value,
boolean reply)
long value as
payload.value - the value to use as a payload for this PING framereply - whether this PING frame is a replypublic PingFrame(byte[] payload,
boolean reply)
payload.payload - the payload for this PING framereply - whether this PING frame is a replyCopyright © 2016. All rights reserved.