パッケージ org.fanout.gripcontrol

クラス WebSocketEvent

java.lang.Object
org.fanout.gripcontrol.WebSocketEvent

public class WebSocketEvent
extends Object
Event information used with the GRIP WebSocket-over-HTTP protocol. Includes information about the type of event as well as an optional content field.
  • フィールド詳細

    • type

      public String type
    • content

      public final String content
    • contentBytes

      public final byte[] contentBytes
  • コンストラクタの詳細

    • WebSocketEvent

      public WebSocketEvent​(String type)
      Initialize with a specified event type.
    • WebSocketEvent

      public WebSocketEvent​(String type, String content)
      Initialize with a specified event type and content information.
    • WebSocketEvent

      public WebSocketEvent​(String type, byte[] contentBytes)