websocket-spec
  1. websocket-spec
  2. WEBSOCKET_SPEC-150

Encoder/Decoder lifecycle consistency between pe and ae's

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      Currently, Encoders and Decoders are singletons for programmatic endpoints

      and they are per-connection objects for annotated endpoints.

      They should have the same lifecycle.

      Probably per-connection is best, so register by class on EndpointConfiguration, not by instance.

      Also, they need some view into the rest of the websocket API. Suggest

      setEndpointConfiguration(EndpointConfiguration ec)

      as a mini lifecycle.

        Activity

        dannycoward created issue -
        dannycoward made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee dannycoward [ dannycoward ]
        Tags v014
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            dannycoward
            Reporter:
            dannycoward
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: