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