public interface ProtocolServer
ProtocolServer
accept inbound traffic and handle it. Basically the protocols API can be used to handle every "line based" protocol in an easy fashionModifier and Type | Method and Description |
---|---|
void |
bind()
Start the server
|
int |
getBacklog()
Return the backlog for the socket
|
List<InetSocketAddress> |
getListenAddresses()
Return the ips on which the server listen for connections
|
int |
getTimeout()
Return the read/write timeout in seconds for the socket.
|
boolean |
isBound()
return true if the server is bound
|
void |
unbind()
Stop the server
|
void unbind()
boolean isBound()
int getTimeout()
int getBacklog()
List<InetSocketAddress> getListenAddresses()
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.