public abstract class Connection extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
Connection(String host,
Integer port,
Integer timeout,
Boolean useSsl,
SSLContext sslContext) |
| 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 Connection(String host, Integer port, Integer timeout, Boolean useSsl, SSLContext sslContext)
public boolean isOpen()
public void open()
throws IOException
IOExceptionpublic void close()
protected void writeIntern(Message message, Collection<Chunk> chunks)
protected Chunk readChunk() throws IOException
IOExceptionprotected void readBytesIntoBuffer(byte[] buf,
int off,
int len)
throws IOException
IOExceptionCopyright © 2016 ArangoDB GmbH. All rights reserved.