Class SimpleClient

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable
    Direct Known Subclasses:
    Client

    public class SimpleClient
    extends java.lang.Object
    implements java.io.Closeable
    • Field Detail

      • host

        public final java.lang.String host
      • port

        public final int port
      • responseHandler

        protected final org.apache.cassandra.transport.SimpleClient.ResponseHandler responseHandler
      • bootstrap

        protected io.netty.bootstrap.Bootstrap bootstrap
      • channel

        protected io.netty.channel.Channel channel
      • lastWriteFuture

        protected io.netty.channel.ChannelFuture lastWriteFuture
      • compression

        protected java.lang.String compression
    • Constructor Detail

      • SimpleClient

        public SimpleClient​(java.lang.String host,
                            int port,
                            EncryptionOptions encryptionOptions)
      • SimpleClient

        public SimpleClient​(java.lang.String host,
                            int port,
                            ProtocolVersion version)
      • SimpleClient

        public SimpleClient​(java.lang.String host,
                            int port)