Class NioUdtByteConnectorChannel

    • Constructor Detail

      • NioUdtByteConnectorChannel

        public NioUdtByteConnectorChannel()
        Deprecated.
      • NioUdtByteConnectorChannel

        public NioUdtByteConnectorChannel​(Channel parent,
                                          com.barchart.udt.nio.SocketChannelUDT channelUDT)
        Deprecated.
      • NioUdtByteConnectorChannel

        public NioUdtByteConnectorChannel​(com.barchart.udt.nio.SocketChannelUDT channelUDT)
        Deprecated.
      • NioUdtByteConnectorChannel

        public NioUdtByteConnectorChannel​(com.barchart.udt.TypeUDT type)
        Deprecated.
    • Method Detail

      • doBind

        protected void doBind​(java.net.SocketAddress localAddress)
                       throws java.lang.Exception
        Deprecated.
        Description copied from class: AbstractChannel
        Bind the Channel to the SocketAddress
        Specified by:
        doBind in class AbstractChannel
        Throws:
        java.lang.Exception
      • doConnect

        protected boolean doConnect​(java.net.SocketAddress remoteAddress,
                                    java.net.SocketAddress localAddress)
                             throws java.lang.Exception
        Deprecated.
        Description copied from class: AbstractNioChannel
        Connect to the remote peer
        Specified by:
        doConnect in class AbstractNioChannel
        Throws:
        java.lang.Exception
      • doDisconnect

        protected void doDisconnect()
                             throws java.lang.Exception
        Deprecated.
        Description copied from class: AbstractChannel
        Disconnect this Channel from its remote peer
        Specified by:
        doDisconnect in class AbstractChannel
        Throws:
        java.lang.Exception
      • doWriteBytes

        protected int doWriteBytes​(ByteBuf byteBuf)
                            throws java.lang.Exception
        Deprecated.
        Description copied from class: AbstractNioByteChannel
        Write bytes form the given ByteBuf to the underlying Channel.
        Specified by:
        doWriteBytes in class AbstractNioByteChannel
        Parameters:
        byteBuf - the ByteBuf from which the bytes should be written
        Returns:
        amount the amount of written bytes
        Throws:
        java.lang.Exception
      • isActive

        public boolean isActive()
        Deprecated.
        Description copied from interface: Channel
        Return true if the Channel is active and so connected.
        Specified by:
        isActive in interface Channel
      • localAddress0

        protected java.net.SocketAddress localAddress0()
        Deprecated.
        Description copied from class: AbstractChannel
        Returns the SocketAddress which is bound locally.
        Specified by:
        localAddress0 in class AbstractChannel
      • localAddress

        public java.net.InetSocketAddress localAddress()
        Deprecated.
        Description copied from interface: Channel
        Returns the local address where this channel is bound to. The returned SocketAddress is supposed to be down-cast into more concrete type such as InetSocketAddress to retrieve the detailed information.
        Specified by:
        localAddress in interface Channel
        Specified by:
        localAddress in interface UdtChannel
        Overrides:
        localAddress in class AbstractChannel
        Returns:
        the local address of this channel. null if this channel is not bound.
      • remoteAddress

        public java.net.InetSocketAddress remoteAddress()
        Deprecated.
        Description copied from interface: Channel
        Returns the remote address where this channel is connected to. The returned SocketAddress is supposed to be down-cast into more concrete type such as InetSocketAddress to retrieve the detailed information.
        Specified by:
        remoteAddress in interface Channel
        Specified by:
        remoteAddress in interface UdtChannel
        Overrides:
        remoteAddress in class AbstractChannel
        Returns:
        the remote address of this channel. null if this channel is not connected. If this channel is not connected but it can receive messages from arbitrary remote addresses (e.g. DatagramChannel, use DefaultAddressedEnvelope.recipient() to determine the origination of the received message as this method will return null.