Class VersionedConnection

    • Method Detail

      • getUsage

        public Entity getUsage()
      • getConnectionTemplate

        public Entity getConnectionTemplate()
      • getConnection

        public Connection getConnection()
      • getRemoteHostname

        public java.lang.String getRemoteHostname()
      • setOutboundTracer

        public void setOutboundTracer​(OutboundTracer outboundTracer)
      • collect

        public void collect​(long lastCollect)
      • setSaslFinished

        public void setSaslFinished​(boolean saslFinished,
                                    ActiveLogin activeLogin)
      • dataAvailable

        public void dataAvailable​(Connection connection,
        Description copied from interface: InboundHandler
        Will be called if data is available on the connection's input stream. The inbound handler must read this data out of the stream and should forward it to further processing to some async running task to return immediately. If this method throws an IOException, the connection will be closed.
        Specified by:
        dataAvailable in interface InboundHandler
        connection - connection.
        inputStream - the connections's input stream.
        Throws: - on error to close the connection.
      • send

        public void send​(Writable writable)
        Description copied from interface: OutboundHandler
        Send a Writable to the network.
        Specified by:
        send in interface OutboundHandler
        writable - Writable
      • close

        public void close()
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object