Interface Transport


  • @Deprecated
    public interface Transport
    Deprecated.
    since 9.2
    Transport abstraction.
    Since:
    4.1
    Author:
    Mircea.Markus@jboss.com
    • Method Detail

      • writeArray

        void writeArray​(byte[] toAppend)
        Deprecated.
      • writeArray

        void writeArray​(byte[] toAppend,
                        int offset,
                        int count)
        Deprecated.
      • writeOptionalArray

        void writeOptionalArray​(byte[] toAppend)
        Deprecated.
      • writeByte

        void writeByte​(short toWrite)
        Deprecated.
      • writeVInt

        void writeVInt​(int vint)
        Deprecated.
      • writeSignedVInt

        void writeSignedVInt​(int toWrite)
        Deprecated.
      • writeVLong

        void writeVLong​(long l)
        Deprecated.
      • readVLong

        long readVLong()
        Deprecated.
      • readVInt

        int readVInt()
        Deprecated.
      • flush

        void flush()
        Deprecated.
      • readByte

        short readByte()
        Deprecated.
      • release

        void release()
        Deprecated.
      • readArray

        byte[] readArray()
        Deprecated.
        reads an vint which is size; then an array having that size.
      • readString

        String readString()
        Deprecated.
      • readByteArray

        void readByteArray​(byte[] buffer,
                           int size)
        Deprecated.
      • readByteArray

        byte[] readByteArray​(int size)
        Deprecated.
      • readLong

        long readLong()
        Deprecated.
      • writeLong

        void writeLong​(long longValue)
        Deprecated.
      • readUnsignedShort

        int readUnsignedShort()
        Deprecated.
      • read4ByteInt

        int read4ByteInt()
        Deprecated.
      • writeString

        void writeString​(String string)
        Deprecated.
      • writeOptionalString

        void writeOptionalString​(String string)
        Deprecated.
      • dumpStream

        byte[] dumpStream()
        Deprecated.
      • getRemoteSocketAddress

        SocketAddress getRemoteSocketAddress()
        Deprecated.
        Returns the address of the endpoint this transport is connected to, or null if it is unconnected.
        Returns:
        a SocketAddress reprensenting the remote endpoint of this transport, or null if it is not connected yet.
      • invalidate

        void invalidate()
        Deprecated.
        Invalidates transport instance.
      • isValid

        boolean isValid()
        Deprecated.
      • setBusy

        void setBusy​(boolean busy)
        Deprecated.
      • isBusy

        boolean isBusy()
        Deprecated.