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
IOException
public void close()
protected void writeIntern(Message message, Collection<Chunk> chunks)
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.