org.teleal.cling.transport.impl
Class MulticastReceiverImpl

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

public class MulticastReceiverImpl
extends Object
implements MulticastReceiver<MulticastReceiverConfigurationImpl>


Field Summary
protected  MulticastReceiverConfigurationImpl configuration
           
protected  DatagramProcessor datagramProcessor
           
protected  InetSocketAddress multicastAddress
           
protected  NetworkInterface multicastInterface
           
protected  Router router
           
 
Constructor Summary
MulticastReceiverImpl(MulticastReceiverConfigurationImpl configuration)
           
 
Method Summary
 MulticastReceiverConfigurationImpl getConfiguration()
           
 void init(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 NetworkInterface multicastInterface

multicastAddress

protected 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(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 Runnable


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