public abstract class VstConnection extends Object implements Connection
Modifier and Type | Field and Description |
---|---|
protected MessageStore |
messageStore |
protected Integer |
timeout |
Modifier | Constructor and Description |
---|---|
protected |
VstConnection(HostDescription host,
Integer timeout,
Long ttl,
Boolean useSsl,
SSLContext sslContext,
MessageStore messageStore) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
String |
getConnectionName() |
boolean |
isOpen() |
void |
open() |
protected void |
readBytesIntoBuffer(byte[] buf,
int off,
int len) |
protected Chunk |
readChunk() |
protected void |
writeIntern(Message message,
Collection<Chunk> chunks) |
protected final MessageStore messageStore
protected final Integer timeout
protected VstConnection(HostDescription host, Integer timeout, Long ttl, Boolean useSsl, SSLContext sslContext, MessageStore messageStore)
public boolean isOpen()
public void open() throws IOException
IOException
public void close()
close
in interface Closeable
close
in interface AutoCloseable
protected void writeIntern(Message message, Collection<Chunk> chunks) throws ArangoDBException
ArangoDBException
protected Chunk readChunk() throws IOException
IOException
protected void readBytesIntoBuffer(byte[] buf, int off, int len) throws IOException
IOException
public String getConnectionName()
Copyright © 2016–2020 ArangoDB GmbH. All rights reserved.