|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hs.mail.container.server.DefaultServer
public class DefaultServer
Field Summary | |
---|---|
protected int |
backlog
The connection backlog. |
protected String |
bind
The host name of bindTo address. |
protected InetAddress |
bindTo
Network interface to which the service will bind. |
protected ConnectionHandler |
connectionHandler
The connection handler used by this service. |
protected int |
connectionTimeout
The connection idle timeout. |
protected int |
port
The port on which this server will be made available. |
protected ServerSocketFactory |
serverSocketFactory
Factory creating server sockets. |
protected boolean |
tcpNoDelay
Indicates whether or not TCP_NODELAY is enabled. |
Constructor Summary | |
---|---|
DefaultServer()
|
Method Summary | |
---|---|
void |
configure()
|
int |
getBacklog()
|
String |
getBind()
|
InetAddress |
getBindTo()
|
ConnectionHandler |
getConnectionHandler()
|
int |
getConnectionTimeout()
|
int |
getPort()
|
ServerSocketFactory |
getServerSocketFactory()
|
String |
getServiceType()
This method returns the type of service provided by this server. |
org.springframework.core.task.TaskExecutor |
getTaskExecutor()
|
boolean |
isTcpNoDelay()
|
void |
setBacklog(int backlog)
|
void |
setBind(String bind)
|
void |
setBindTo(InetAddress bindTo)
|
void |
setConnectionHandler(ConnectionHandler connectionHandler)
|
void |
setConnectionTimeout(int connectionTimeout)
|
void |
setPort(int port)
|
void |
setServerSocketFactory(ServerSocketFactory factory)
|
void |
setTaskExecutor(org.springframework.core.task.TaskExecutor taskExecutor)
|
void |
setTcpNoDelay(boolean tcpNoDelay)
|
void |
start()
|
void |
stop()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int port
protected String bind
protected InetAddress bindTo
protected int backlog
protected int connectionTimeout
protected boolean tcpNoDelay
protected ServerSocketFactory serverSocketFactory
protected ConnectionHandler connectionHandler
Constructor Detail |
---|
public DefaultServer()
Method Detail |
---|
public int getPort()
public void setPort(int port)
public String getBind()
public void setBind(String bind)
public InetAddress getBindTo()
public void setBindTo(InetAddress bindTo)
public int getBacklog()
public void setBacklog(int backlog)
public int getConnectionTimeout()
public void setConnectionTimeout(int connectionTimeout)
public boolean isTcpNoDelay()
public void setTcpNoDelay(boolean tcpNoDelay)
public ServerSocketFactory getServerSocketFactory()
public void setServerSocketFactory(ServerSocketFactory factory)
public ConnectionHandler getConnectionHandler()
public void setConnectionHandler(ConnectionHandler connectionHandler)
public org.springframework.core.task.TaskExecutor getTaskExecutor()
public void setTaskExecutor(org.springframework.core.task.TaskExecutor taskExecutor)
public String getServiceType()
public void configure() throws Exception
Exception
public void start()
start
in interface Server
public void stop()
stop
in interface Server
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |