Package org.somda.sdc.dpws.udp.factory
Interface UdpBindingServiceFactory
public interface UdpBindingServiceFactory
Factory to create
UdpBindingService instances.-
Method Summary
Modifier and TypeMethodDescriptioncreateUdpBindingService(NetworkInterface networkInterface, InetAddress multicastAddress, Integer multicastPort, Integer maxMessageSize) Creates aUdpBindingServiceinstance.
-
Method Details
-
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.
-