- java.lang.Object
-
- com.pervasive.datarush.net.SocketBuilderFactory
-
public final class SocketBuilderFactory extends Object
Given aNetworkConfiguration
and a socket address, creates the appropriate socket builder
-
-
Constructor Summary
Constructors Constructor Description SocketBuilderFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SocketBuilder
createBuilder(NetworkConfiguration config, SocketAddress address)
Creates a new socket builder for the given configuration.
-
-
-
Method Detail
-
createBuilder
public static SocketBuilder createBuilder(NetworkConfiguration config, SocketAddress address)
Creates a new socket builder for the given configuration. Note that NetworkConfiguration currently assumes one configuration for all client connections. We may at some point extend this.- Parameters:
config
- the network configuration.address
- the socket address- Returns:
- a new socket builder
-
-