Class ClientSocketTransportFactory

java.lang.Object
io.bytestreams.exchange.core.ClientSocketTransportFactory
All Implemented Interfaces:
TransportFactory

public final class ClientSocketTransportFactory extends Object implements TransportFactory
A TransportFactory that creates client-side TCP connections.

Each call to create() opens a new Socket to the configured host and port, applies the SocketConfigurator, connects, and returns a SocketTransport.

Use builder(String, int) to configure the target address, connect timeout, and socket options.