Class AeronIpcSocket

  • All Implemented Interfaces:
    deltix.util.lang.Disposable, VSocket, java.io.Closeable, java.lang.AutoCloseable

    public class AeronIpcSocket
    extends java.lang.Object
    implements VSocket
    • Constructor Detail

      • AeronIpcSocket

        public AeronIpcSocket​(java.net.Socket socket,
                              int code,
                              boolean isServer,
                              int socketNumber)
    • Method Detail

      • getRemoteAddress

        public java.lang.String getRemoteAddress()
        Specified by:
        getRemoteAddress in interface VSocket
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Specified by:
        close in interface deltix.util.lang.Disposable
        Specified by:
        close in interface VSocket
      • getCode

        public int getCode()
        Specified by:
        getCode in interface VSocket
      • setCode

        public void setCode​(int code)
        Specified by:
        setCode in interface VSocket
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getSocketNumber

        public int getSocketNumber()
        Description copied from interface: VSocket
        Serial number of this socket. Should be used only for easier identification of the socket during debug.
        Specified by:
        getSocketNumber in interface VSocket