Class BootstrapAdapter
java.lang.Object
com.couchbase.client.core.endpoint.BootstrapAdapter
public class BootstrapAdapter extends Object
-
Constructor Summary
Constructors Constructor Description BootstrapAdapter(Bootstrap bootstrap)
Create a newBootstrapAdapter
. -
Method Summary
Modifier and Type Method Description ChannelFuture
connect()
Connect the underlyingBootstrap
and return aChannelFuture
.BootstrapAdapter
remoteAddress(String hostname, int port)
-
Constructor Details
-
BootstrapAdapter
Create a newBootstrapAdapter
.- Parameters:
bootstrap
- the wrapped bootstrap.
-
-
Method Details
-
connect
Connect the underlyingBootstrap
and return aChannelFuture
.- Returns:
- the future containing the channel and connect status.
-
remoteAddress
-