Interface Connection<T>

All Known Implementing Classes:
ConnectionHandler, InConnectionHandler, OutConnectionHandler

public interface Connection<T>
  • Method Details

    • getPeer

      Host getPeer()
    • getPeerAttributes

      Attributes getPeerAttributes()
    • getSelfAttributes

      Attributes getSelfAttributes()
    • disconnect

      void disconnect()
    • isInbound

      boolean isInbound()
    • isOutbound

      boolean isOutbound()
    • sendMessage

      void sendMessage(T msg, io.netty.util.concurrent.Promise<Void> p)
    • sendMessage

      void sendMessage(T msg)
    • getLoop

      io.netty.channel.EventLoop getLoop()
    • getSentAppBytes

      long getSentAppBytes()
    • getSentAppMessages

      long getSentAppMessages()
    • getSentControlBytes

      long getSentControlBytes()
    • getSentControlMessages

      long getSentControlMessages()
    • getReceivedAppBytes

      long getReceivedAppBytes()
    • getReceivedAppMessages

      long getReceivedAppMessages()
    • getReceivedControlBytes

      long getReceivedControlBytes()
    • getReceivedControlMessages

      long getReceivedControlMessages()