Class ConnectionManagerImpl

java.lang.Object
com.swiftmq.impl.net.netty.ConnectionManagerImpl
All Implemented Interfaces:
com.swiftmq.swiftlet.net.ConnectionManager

public class ConnectionManagerImpl extends Object implements com.swiftmq.swiftlet.net.ConnectionManager
  • Constructor Details

    • ConnectionManagerImpl

      protected ConnectionManagerImpl(SwiftletContext ctx)
  • Method Details

    • getNumberConnections

      public int getNumberConnections()
      Specified by:
      getNumberConnections in interface com.swiftmq.swiftlet.net.ConnectionManager
    • addConnection

      public void addConnection(com.swiftmq.swiftlet.net.Connection connection)
      Specified by:
      addConnection in interface com.swiftmq.swiftlet.net.ConnectionManager
    • removeConnection

      public void removeConnection(com.swiftmq.swiftlet.net.Connection connection)
      Specified by:
      removeConnection in interface com.swiftmq.swiftlet.net.ConnectionManager
    • removeAllConnections

      public void removeAllConnections()
      Specified by:
      removeAllConnections in interface com.swiftmq.swiftlet.net.ConnectionManager
    • clearLastCollectTime

      public void clearLastCollectTime()
    • collectByteCounts

      public void collectByteCounts()
    • toString

      public String toString()
      Overrides:
      toString in class Object