Uploaded image for project: 'XNIO'
  1. XNIO
  2. XNIO-36

Connectors and Servers etc. are unclosable from the standalone API

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.0.0.GA
    • None
    • None
    • None
    • Medium

    Description

      Using e.g. Xnio.createTcpConnector(), there's no way to shut down a TcpConnector after it's been created.

      Perhaps Clients and Connectors should be Closeable as well? But this clashes with the microcontainer use case where the container really ought to manage such things.

      We could go the same route that the JDK does with Executors and have a ConnectorService, ClientService, TcpConnectorService, TcpClientService which are accessible from the standalone API. These would either be Closeable or they'd have a shutdown()/stop() method.

      Attachments

        Activity

          People

            dlloyd@redhat.com David Lloyd
            dlloyd@redhat.com David Lloyd
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: