Klasse DatagramIOImpl

java.lang.Object
org.jupnp.transport.impl.DatagramIOImpl
Alle implementierten Schnittstellen:
Runnable, DatagramIO<DatagramIOConfigurationImpl>

public class DatagramIOImpl extends Object implements DatagramIO<DatagramIOConfigurationImpl>
Default implementation based on a single shared (receive/send) UDP MulticastSocket.

Although we do not receive multicast datagrams with this service, sending multicast datagrams with a configuration time-to-live requires a MulticastSocket.

Thread-safety is guaranteed through synchronization of methods of this service and by the thread-safe underlying socket.

Autor:
Christian Bauer, Kai Kreuzer - added configurable port for search responses, Jochen Hiller - add more diagnostic information in case of an general communication exception