パッケージ org.fanout.gripcontrol
クラス WebSocketMessageFormat
java.lang.Object
org.fanout.gripcontrol.WebSocketMessageFormat
- すべての実装されたインタフェース:
org.fanout.pubcontrol.Format
public class WebSocketMessageFormat extends Object implements org.fanout.pubcontrol.Format
Used to publish data to WebSocket clients connected to GRIP proxies.
-
フィールドの概要
フィールド 修飾子とタイプ フィールド 説明 byte[]binaryContentStringcontent -
コンストラクタの概要
コンストラクタ コンストラクタ 説明 WebSocketMessageFormat(byte[] binaryContent)Initialize with binary content.WebSocketMessageFormat(String content)Initialize with non-binary string content. -
メソッドの概要
-
フィールド詳細
-
-
binaryContent
public byte[] binaryContent
-
-
コンストラクタの詳細
-
WebSocketMessageFormat
Initialize with non-binary string content. -
WebSocketMessageFormat
public WebSocketMessageFormat(byte[] binaryContent)Initialize with binary content.
-
-
メソッドの詳細
-
name
The name used when publishing this format.- 定義:
nameインタフェース内org.fanout.pubcontrol.Format
-
export
Exports the message based on whether the message content is binary or not.- 定義:
exportインタフェース内org.fanout.pubcontrol.Format
-