public abstract class Connection extends Object
Modifier and Type | Field and Description |
---|---|
protected MessageStore |
messageStore |
Modifier | Constructor and Description |
---|---|
protected |
Connection(HostHandler hostHandler,
Integer timeout,
Boolean useSsl,
SSLContext sslContext,
MessageStore messageStore) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
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 Connection(HostHandler hostHandler, Integer timeout, Boolean useSsl, SSLContext sslContext, MessageStore messageStore)
public boolean isOpen()
public void open() throws IOException
IOException
public void close()
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
Copyright © 2016–2017 ArangoDB GmbH. All rights reserved.