Interface GatewayConnection
-
- All Known Implementing Classes:
DryRunGatewayConnection
public interface GatewayConnection
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
boolean
connect()
java.io.InputStream
drain()
Endpoint
getEndpoint()
void
handshake()
java.io.InputStream
writeOperations(java.util.List<Document> docs)
-
-
-
Method Detail
-
writeOperations
java.io.InputStream writeOperations(java.util.List<Document> docs) throws ServerResponseException, java.io.IOException
- Throws:
ServerResponseException
java.io.IOException
-
drain
java.io.InputStream drain() throws ServerResponseException, java.io.IOException
- Throws:
ServerResponseException
java.io.IOException
-
connect
boolean connect()
-
getEndpoint
Endpoint getEndpoint()
-
handshake
void handshake() throws ServerResponseException, java.io.IOException
- Throws:
ServerResponseException
java.io.IOException
-
close
void close()
-
-