public final class PingMessage extends AbstractWebSocketMessage<ByteBufferSE>
コンストラクターと説明 |
---|
PingMessage() 空のペイロードで新しい ping メッセージを作成します。 |
PingMessage(ByteBufferSE payload) 指定された ByteBuffer ペイロードで新しい ping メッセージを作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
int | getPayloadLength() メッセージに含まれるバイト数を返します。 |
protected StringSE | toStringPayload() |
equals, getPayload, hashCode, isLast, toString
cloneSE, finalizeSE, getClassSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
public PingMessage()
public PingMessage(ByteBufferSE payload)
payload
- null 以外のペイロード public int getPayloadLength()
WebSocketMessage
protected StringSE toStringPayload()
AbstractWebSocketMessage<ByteBufferSE>
の toStringPayload