org.teleal.cling.transport.impl
Class MulticastReceiverImpl

java.lang.Object
  extended by org.teleal.cling.transport.impl.MulticastReceiverImpl
All Implemented Interfaces:
java.lang.Runnable, MulticastReceiver<MulticastReceiverConfigurationImpl>

public class MulticastReceiverImpl
extends java.lang.Object
implements MulticastReceiver<MulticastReceiverConfigurationImpl>


Field Summary
protected  MulticastReceiverConfigurationImpl configuration
           
protected  DatagramProcessor datagramProcessor
           
protected  java.net.InetSocketAddress multicastAddress
           
protected  java.net.NetworkInterface multicastInterface
           
protected  Router router
           
 
Constructor Summary
MulticastReceiverImpl(MulticastReceiverConfigurationImpl configuration)
           
 
Method Summary
 MulticastReceiverConfigurationImpl getConfiguration()
           
 void init(java.net.NetworkInterface networkInterface, Router router, DatagramProcessor datagramProcessor)
           
 void run()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

router

protected Router router

datagramProcessor

protected DatagramProcessor datagramProcessor

configuration

protected MulticastReceiverConfigurationImpl configuration

multicastInterface

protected java.net.NetworkInterface multicastInterface

multicastAddress

protected java.net.InetSocketAddress multicastAddress
Constructor Detail

MulticastReceiverImpl

public MulticastReceiverImpl(MulticastReceiverConfigurationImpl configuration)
Method Detail

getConfiguration

public MulticastReceiverConfigurationImpl getConfiguration()
Specified by:
getConfiguration in interface MulticastReceiver<MulticastReceiverConfigurationImpl>

init

public void init(java.net.NetworkInterface networkInterface,
                 Router router,
                 DatagramProcessor datagramProcessor)
          throws InitializationException
Specified by:
init in interface MulticastReceiver<MulticastReceiverConfigurationImpl>
Throws:
InitializationException

stop

public void stop()
Specified by:
stop in interface MulticastReceiver<MulticastReceiverConfigurationImpl>

run

public void run()
Specified by:
run in interface java.lang.Runnable


Copyright © 2010 Teleal GmbH, Switzerland. All Rights Reserved.