Package com.c8db.internal.velocystream
Class VstCommunicationSync
- java.lang.Object
-
- com.c8db.internal.velocystream.VstCommunication<Response,VstConnectionSync>
-
- com.c8db.internal.velocystream.VstCommunicationSync
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public class VstCommunicationSync extends VstCommunication<Response,VstConnectionSync>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVstCommunicationSync.Builder
-
Field Summary
-
Fields inherited from class com.c8db.internal.velocystream.VstCommunication
chunksize, ENCRYPTION_PLAIN, mId, password, user, util
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedVstCommunicationSync(HostHandler hostHandler, Integer timeout, String user, String password, Boolean useSsl, SSLContext sslContext, C8Serialization util, Integer chunksize, Integer maxConnections, Long ttl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidauthenticate(VstConnectionSync connection)protected Responseexecute(Request request, VstConnectionSync connection)-
Methods inherited from class com.c8db.internal.velocystream.VstCommunication
buildChunks, checkError, close, connect, createMessage, createResponse, execute
-
-
-
-
Constructor Detail
-
VstCommunicationSync
protected VstCommunicationSync(HostHandler hostHandler, Integer timeout, String user, String password, Boolean useSsl, SSLContext sslContext, C8Serialization util, Integer chunksize, Integer maxConnections, Long ttl)
-
-
Method Detail
-
execute
protected Response execute(Request request, VstConnectionSync connection) throws C8DBException
- Specified by:
executein classVstCommunication<Response,VstConnectionSync>- Throws:
C8DBException
-
authenticate
protected void authenticate(VstConnectionSync connection)
- Specified by:
authenticatein classVstCommunication<Response,VstConnectionSync>
-
-