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 StreamServerImpl

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

All Implemented Interfaces:
  Runnable, StreamServer<StreamServerConfigurationImpl>

    public class StreamServerImpl

extends Object
implements StreamServer<StreamServerConfigurationImpl>

Nested Class Summary
`static class` | `StreamServerImpl.RequestHttpHandler`

Field Summary
`protected StreamServerConfigurationImpl` | `configuration`
`protected com.sun.net.httpserver.HttpServer` | `server`

Constructor Summary
`StreamServerImpl(StreamServerConfigurationImpl configuration)`

Method Summary
`StreamServerConfigurationImpl` | `getConfiguration()`
`int` | `getPort()`
`void` | `init(InetAddress bindAddress, Router router)`
`void` | `run()`
`void` | `stop()`

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

Field Detail

### configuration

    protected StreamServerConfigurationImpl configuration

### server

    protected com.sun.net.httpserver.HttpServer server

Constructor Detail

### StreamServerImpl

    public StreamServerImpl(StreamServerConfigurationImpl configuration)

Method Detail

### init

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

  Specified by:
    `init` in interface `StreamServer<StreamServerConfigurationImpl>`
  Throws:
    `InitializationException`

### getPort

    public int getPort()

  Specified by:
    `getPort` in interface `StreamServer<StreamServerConfigurationImpl>`

### getConfiguration

    public StreamServerConfigurationImpl getConfiguration()

  Specified by:
    `getConfiguration` in interface `StreamServer<StreamServerConfigurationImpl>`

### run

    public void run()

  Specified by:
    `run` in interface `Runnable`

### stop

    public void stop()

  Specified by:
    `stop` in interface `StreamServer<StreamServerConfigurationImpl>`

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.