Class SocketBuilderFactory

java.lang.Object
com.pervasive.datarush.net.SocketBuilderFactory

public final class SocketBuilderFactory extends Object
Given a NetworkConfiguration and a socket address, creates the appropriate socket builder
  • Constructor Details

    • SocketBuilderFactory

      public SocketBuilderFactory()
  • Method Details

    • 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