Interface EventDriverImpl

    • Method Summary

      All Methods Instance Methods Abstract 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.
    • Method Detail

      • create

        EventDriver create​(java.lang.Object websocket,
                           WebSocketPolicy policy)
                    throws java.lang.Throwable
        Create the EventDriver based on this implementation.
        Parameters:
        websocket - the websocket to wrap
        policy - the policy to use
        Returns:
        the created EventDriver
        Throws:
        java.lang.Throwable - if unable to create the EventDriver
      • describeRule

        java.lang.String describeRule()
        human readable string describing the rule that would support this EventDriver.

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

        Returns:
        the human readable description of this event driver rule(s).
      • supports

        boolean supports​(java.lang.Object websocket)
        Test for if this implementation can support the provided websocket.
        Parameters:
        websocket - the possible websocket to test
        Returns:
        true if implementation can support it, false if otherwise.