public abstract class ComboxServerSocket extends ComboxServer
| Modifier and Type | Field and Description |
|---|---|
static int |
BUFFER_LENGTH |
protected java.net.ServerSocket |
serverSocket |
ABORT, accessPoint, broker, EXIT, RUNNING, status, timeOut| Constructor and Description |
|---|
ComboxServerSocket(AccessPoint accessPoint,
int timeout,
Broker broker) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close all connection with this server
|
protected abstract ComboxAcceptSocket |
createCombox() |
void |
createServer()
Create and start the combox server
|
protected abstract java.lang.String |
getProtocol() |
java.lang.String |
getUrl()
Get the URL of the combox
|
getRequestQueuepublic static final int BUFFER_LENGTH
protected java.net.ServerSocket serverSocket
public ComboxServerSocket(AccessPoint accessPoint, int timeout, Broker broker) throws java.io.IOException
java.io.IOExceptionpublic final void createServer()
throws java.io.IOException
java.io.IOException - if any problem occurspublic java.lang.String getUrl()
public void close()
ComboxServerclose in class ComboxServerprotected abstract java.lang.String getProtocol()
protected abstract ComboxAcceptSocket createCombox() throws java.io.IOException
java.io.IOException