Class JsrEndpointImpl

    • Constructor Summary

      Constructors 
      Constructor Description
      JsrEndpointImpl()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      EventDriver create​(java.lang.Object websocket, WebSocketPolicy policy)
      Create the EventDriver based on this implementation.
      java.lang.String describeRule()
      human readable string describing the rule that would support this EventDriver.
      boolean supports​(java.lang.Object websocket)
      Test for if this implementation can support the provided websocket.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JsrEndpointImpl

        public JsrEndpointImpl()
    • Method Detail

      • create

        public EventDriver create​(java.lang.Object websocket,
                                  WebSocketPolicy policy)
        Description copied from interface: EventDriverImpl
        Create the EventDriver based on this implementation.
        Specified by:
        create in interface EventDriverImpl
        Parameters:
        websocket - the websocket to wrap
        policy - the policy to use
        Returns:
        the created EventDriver
      • describeRule

        public java.lang.String describeRule()
        Description copied from interface: EventDriverImpl
        human readable string describing the rule that would support this EventDriver.

        Used to help developer with possible object annotations, listeners, or base classes.

        Specified by:
        describeRule in interface EventDriverImpl
        Returns:
        the human readable description of this event driver rule(s).
      • supports

        public boolean supports​(java.lang.Object websocket)
        Description copied from interface: EventDriverImpl
        Test for if this implementation can support the provided websocket.
        Specified by:
        supports in interface EventDriverImpl
        Parameters:
        websocket - the possible websocket to test
        Returns:
        true if implementation can support it, false if otherwise.