Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.teleal.cling.transport
Class RouterImpl

    java.lang.Object
      org.teleal.cling.transport.RouterImpl

All Implemented Interfaces:
  Router

    public class RouterImpl

extends Object
implements Router

Field Summary
`protected UpnpServiceConfiguration` | `configuration`
`protected Map<InetAddress,DatagramIO>` | `datagramIOs`
`protected Map<NetworkInterface,MulticastReceiver>` | `multicastReceivers`
`protected NetworkAddressFactory` | `networkAddressFactory`
`protected ProtocolFactory` | `protocolFactory`
`protected StreamClient` | `streamClient`
`protected Map<InetAddress,StreamServer>` | `streamServers`

Constructor Summary
`RouterImpl(UpnpServiceConfiguration configuration, ProtocolFactory protocolFactory)`

Method Summary
`void` | `broadcast(byte[] bytes)`
`UpnpServiceConfiguration` | `getConfiguration()`
`protected Map<InetAddress,DatagramIO>` | `getDatagramIOs()`
`protected Map<NetworkInterface,MulticastReceiver>` | `getMulticastReceivers()`
`NetworkAddressFactory` | `getNetworkAddressFactory()`
`ProtocolFactory` | `getProtocolFactory()`
`StreamClient` | `getStreamClient()`
`protected Map<InetAddress,StreamServer>` | `getStreamServers()`
`void` | `received(IncomingDatagramMessage msg)`
`void` | `received(UpnpStream stream)`
`void` | `send(OutgoingDatagramMessage msg)`
`StreamResponseMessage` | `send(StreamRequestMessage msg)`
`void` | `shutdown()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### configuration

    protected final UpnpServiceConfiguration configuration

### protocolFactory

    protected final ProtocolFactory protocolFactory

### streamClient

    protected final StreamClient streamClient

### networkAddressFactory

    protected final NetworkAddressFactory networkAddressFactory

### multicastReceivers

    protected final Map<NetworkInterface,MulticastReceiver> multicastReceivers

### datagramIOs

    protected final Map<InetAddress,DatagramIO> datagramIOs

### streamServers

    protected final Map<InetAddress,StreamServer> streamServers

Constructor Detail

### RouterImpl

    public RouterImpl(UpnpServiceConfiguration configuration,
                      ProtocolFactory protocolFactory)
               throws InitializationException

Throws:
  `InitializationException`

Method Detail

### getConfiguration

    public UpnpServiceConfiguration getConfiguration()

  Specified by:
    `getConfiguration` in interface `Router`

### getProtocolFactory

    public ProtocolFactory getProtocolFactory()

  Specified by:
    `getProtocolFactory` in interface `Router`

### getStreamClient

    public StreamClient getStreamClient()

  Specified by:
    `getStreamClient` in interface `Router`

### getNetworkAddressFactory

    public NetworkAddressFactory getNetworkAddressFactory()

  Specified by:
    `getNetworkAddressFactory` in interface `Router`

### getMulticastReceivers

    protected Map<NetworkInterface,MulticastReceiver> getMulticastReceivers()

### getDatagramIOs

    protected Map<InetAddress,DatagramIO> getDatagramIOs()

### getStreamServers

    protected Map<InetAddress,StreamServer> getStreamServers()

### shutdown

    public void shutdown()

  Specified by:
    `shutdown` in interface `Router`

### received

    public void received(IncomingDatagramMessage msg)

  Specified by:
    `received` in interface `Router`

### received

    public void received(UpnpStream stream)

  Specified by:
    `received` in interface `Router`

### send

    public void send(OutgoingDatagramMessage msg)

  Specified by:
    `send` in interface `Router`

### send

    public StreamResponseMessage send(StreamRequestMessage msg)

  Specified by:
    `send` in interface `Router`

### broadcast

    public void broadcast(byte[] bytes)

  Specified by:
    `broadcast` in interface `Router`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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