Class VSClient

  • All Implemented Interfaces:
    deltix.util.lang.Disposable, deltix.util.lang.DisposableListener<VSDispatcher>, java.io.Closeable, java.lang.AutoCloseable

    public class VSClient
    extends java.lang.Object
    implements deltix.util.lang.Disposable, deltix.util.lang.DisposableListener<VSDispatcher>
    • Field Detail

      • MIN_COMP_SERVER_VERSION

        public static final int MIN_COMP_SERVER_VERSION
        See Also:
        Constant Field Values
      • MAX_COMP_SERVER_VERSION

        public static final int MAX_COMP_SERVER_VERSION
        See Also:
        Constant Field Values
      • SSL_TERMINATION_PROPERTY

        public static final java.lang.String SSL_TERMINATION_PROPERTY
        See Also:
        Constant Field Values
      • SSL_TERMINATION

        public static final boolean SSL_TERMINATION
    • Constructor Detail

      • VSClient

        public VSClient​(java.lang.String host,
                        int port,
                        java.lang.String ownerID)
                 throws java.io.IOException
        Throws:
        java.io.IOException
      • VSClient

        public VSClient​(java.lang.String host,
                        int port)
                 throws java.io.IOException
        Throws:
        java.io.IOException
      • VSClient

        public VSClient​(java.lang.String host,
                        int port,
                        java.lang.String ownerID,
                        boolean enableSSL,
                        ContextContainer contextContainer)
                 throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • getSoTimeout

        public int getSoTimeout()
      • setSoTimeout

        public void setSoTimeout​(int soTimeout)
      • getTimeout

        public int getTimeout()
      • setTimeout

        public void setTimeout​(int timeout)
      • getHost

        public java.lang.String getHost()
      • setHost

        public void setHost​(java.lang.String host)
      • getNumTransportChannels

        public int getNumTransportChannels()
      • setNumTransportChannels

        public void setNumTransportChannels​(int numChannels)
      • getPort

        public int getPort()
      • setPort

        public void setPort​(int port)
      • setSslContext

        public void setSslContext​(javax.net.ssl.SSLContext sslContext)
      • getServerStartTime

        public long getServerStartTime()
      • getReconnectInterval

        public int getReconnectInterval()
      • isConnected

        public boolean isConnected()
      • connect

        public void connect()
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • increaseNumTransportChannels

        public void increaseNumTransportChannels()
                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • openChannel

        public VSChannel openChannel()
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • openChannel

        public VSChannel openChannel​(int inCapacity,
                                     int outCapacity,
                                     boolean compressed)
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • 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
      • setDisconnectedListener

        public void setDisconnectedListener​(deltix.qsrv.hf.spi.conn.DisconnectEventListener listener)
      • getLatency

        public long getLatency()
      • disposed

        public void disposed​(VSDispatcher d)
        Specified by:
        disposed in interface deltix.util.lang.DisposableListener<VSDispatcher>
      • isSSLEnabled

        public boolean isSSLEnabled()
      • getSSLPort

        public int getSSLPort()
      • toString

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