Package org.somda.sdc.dpws.udp.factory
Interface UdpBindingServiceFactory
-
public interface UdpBindingServiceFactoryFactory to createUdpBindingServiceinstances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UdpBindingServicecreateUdpBindingService(NetworkInterface networkInterface, InetAddress multicastAddress, Integer multicastPort, Integer maxMessageSize)Creates aUdpBindingServiceinstance.
-
-
-
Method Detail
-
createUdpBindingService
UdpBindingService createUdpBindingService(NetworkInterface networkInterface, @Nullable InetAddress multicastAddress, Integer multicastPort, Integer maxMessageSize)
Creates aUdpBindingServiceinstance.The outgoing socket port is chosen by the operating system.
- Parameters:
networkInterface- the network interface to bind the UDP socket to.multicastAddress- the UDP socket multicast address to join if desired (nullable for no multicast join).multicastPort- the UDP multicast socket port.maxMessageSize- maximum allowed message size for any messages sent over this binding.- Returns:
- the instance.
-
-