org.teleal.cling.transport.impl
Class StreamServerConfigurationImpl
java.lang.Object
org.teleal.cling.transport.impl.StreamServerConfigurationImpl
- All Implemented Interfaces:
- StreamServerConfiguration
public class StreamServerConfigurationImpl
- extends Object
- implements StreamServerConfiguration
Settings for the default implementation.
- Author:
- Christian Bauer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StreamServerConfigurationImpl
public StreamServerConfigurationImpl()
- Defaults to port '0', ephemeral.
StreamServerConfigurationImpl
public StreamServerConfigurationImpl(int listenPort)
getListenPort
public int getListenPort()
- Specified by:
getListenPort
in interface StreamServerConfiguration
- Returns:
- The TCP port to listen on for HTTP requests.
setListenPort
public void setListenPort(int listenPort)
getTcpConnectionBacklog
public int getTcpConnectionBacklog()
- Returns:
- Maximum number of queued incoming connections to allow on the listening socket,
default is system default.
setTcpConnectionBacklog
public void setTcpConnectionBacklog(int tcpConnectionBacklog)
Copyright © 2010 Teleal GmbH, Switzerland. All Rights Reserved.