Class WebsocketAgent

java.lang.Object
org.openremote.model.asset.Asset<T>
org.openremote.model.asset.agent.Agent<T,U,V>
All Implemented Interfaces:
org.openremote.model.IdentifiableEntity<WebsocketAgent>

@Entity public class WebsocketAgent extends IOAgent<WebsocketAgent,WebsocketAgentProtocol,WebsocketAgentLink>
  • Field Details

    • WEBSOCKET_SUBSCRIPTION_VALUE_DESCRIPTOR

      public static final org.openremote.model.value.ValueDescriptor<WebsocketSubscription> WEBSOCKET_SUBSCRIPTION_VALUE_DESCRIPTOR
    • CONNECT_URL

      public static final org.openremote.model.value.AttributeDescriptor<String> CONNECT_URL
      Websocket connect endpoint URI
    • CONNECT_HEADERS

      public static final org.openremote.model.value.AttributeDescriptor<org.openremote.model.value.ValueType.MultivaluedStringMap> CONNECT_HEADERS
      Headers for websocket connect call
    • CONNECT_SUBSCRIPTIONS

      public static final org.openremote.model.value.AttributeDescriptor<WebsocketSubscription[]> CONNECT_SUBSCRIPTIONS
      Array of WebsocketSubscriptions that should be executed once the websocket connection is established; the subscriptions are executed in the order specified in the array.
    • DESCRIPTOR

      public static final org.openremote.model.asset.agent.AgentDescriptor<WebsocketAgent,WebsocketAgentProtocol,WebsocketAgentLink> DESCRIPTOR
  • Constructor Details

    • WebsocketAgent

      protected WebsocketAgent()
      For use by hydrators (i.e. JPA/Jackson)
    • WebsocketAgent

      public WebsocketAgent(String name)
  • Method Details