org.apache.storm.messaging

## Class ConnectionWithStatus

- java.lang.Object
- - org.apache.storm.messaging.ConnectionWithStatus

- All Implemented Interfaces:
    AutoCloseable, IConnection
  Direct Known Subclasses:
    Client

      public abstract class ConnectionWithStatus
      extends Object
      implements IConnection

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `ConnectionWithStatus.Status`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ConnectionWithStatus()`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `abstract ConnectionWithStatus.Status` | `status()` whether this connection is available to transfer data.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface org.apache.storm.messaging.IConnection

      `close, getLoad, getPort, send, sendBackPressureStatus, sendLoadMetrics`

- - ### Constructor Detail

    - #### ConnectionWithStatus

          public ConnectionWithStatus()

  - ### Method Detail

    - #### status

          public abstract ConnectionWithStatus.Status status()

      whether this connection is available to transfer data.

Copyright © 2021 The Apache Software Foundation. All rights reserved.