Package com.arangodb.internal.net
Class Communication
java.lang.Object
com.arangodb.internal.net.Communication
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Direct Known Subclasses:
HttpCommunication
,VstCommunication
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Communication
(ArangoConfig config, HostHandler hostHandler) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
protected abstract void
connect
(Connection conn) executeAsync
(InternalRequest request, HostHandle hostHandle)
-
Field Details
-
hostHandler
-
serde
-
-
Constructor Details
-
Communication
-
-
Method Details
-
connect
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
executeAsync
public CompletableFuture<InternalResponse> executeAsync(InternalRequest request, HostHandle hostHandle)
-