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.impl
Class DatagramIOImpl

    java.lang.Object
      org.teleal.cling.transport.impl.DatagramIOImpl

All Implemented Interfaces:
  Runnable, DatagramIO<DatagramIOConfigurationImpl>

    public class DatagramIOImpl

extends Object
implements DatagramIO<DatagramIOConfigurationImpl>

http://forums.sun.com/thread.jspa?threadID=771852 http://mail.openjdk.java.net/pipermail/net-dev/2008-December/000497.html https://jira.jboss.org/jira/browse/JGRP-978 http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4701650

Field Summary
`protected DatagramIOConfigurationImpl` | `configuration`
`protected DatagramProcessor` | `datagramProcessor`
`protected InetSocketAddress` | `localAddress`
`protected Router` | `router`
`protected MulticastSocket` | `socket`

Constructor Summary
`DatagramIOImpl(DatagramIOConfigurationImpl configuration)`

Method Summary
`DatagramIOConfigurationImpl` | `getConfiguration()`
`void` | `init(InetAddress bindAddress, Router router, DatagramProcessor datagramProcessor)`
`void` | `run()`
`void` | `send(DatagramPacket datagram)`
`void` | `send(OutgoingDatagramMessage message)`
`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 DatagramIOConfigurationImpl configuration

### localAddress

    protected InetSocketAddress localAddress

### socket

    protected MulticastSocket socket

Constructor Detail

### DatagramIOImpl

    public DatagramIOImpl(DatagramIOConfigurationImpl configuration)

Method Detail

### getConfiguration

    public DatagramIOConfigurationImpl getConfiguration()

  Specified by:
    `getConfiguration` in interface `DatagramIO<DatagramIOConfigurationImpl>`

### init

    public void init(InetAddress bindAddress,
                     Router router,
                     DatagramProcessor datagramProcessor)
              throws InitializationException

  Specified by:
    `init` in interface `DatagramIO<DatagramIOConfigurationImpl>`
  Throws:
    `InitializationException`

### stop

    public void stop()

  Specified by:
    `stop` in interface `DatagramIO<DatagramIOConfigurationImpl>`

### run

    public void run()

  Specified by:
    `run` in interface `Runnable`

### send

    public void send(OutgoingDatagramMessage message)

  Specified by:
    `send` in interface `DatagramIO<DatagramIOConfigurationImpl>`

### send

    public void send(DatagramPacket datagram)

  Specified by:
    `send` in interface `DatagramIO<DatagramIOConfigurationImpl>`

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.