Modifier and Type | Field and Description |
---|---|
protected boolean |
autoClose |
static int |
DEFAULT_PORT |
protected int |
port |
protected int |
sessionRefCounter |
protected boolean |
started |
Constructor and Description |
---|
AbstractServer() |
Modifier and Type | Method and Description |
---|---|
int |
decrementRefCounter() |
int |
getPort() |
int |
incrementRefCounter() |
boolean |
isAutoClose() |
boolean |
isStarted() |
void |
setAutoClose(boolean autoClose) |
void |
setPort(int port)
Sets port.
|
void |
setStarted(boolean started) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asAbstract, isAbstract, setIncomingConnectionExecutor, setIncomingConnectionListener, start, stop
public static final int DEFAULT_PORT
protected boolean started
protected int port
protected boolean autoClose
protected int sessionRefCounter
public boolean isStarted()
public void setStarted(boolean started)
public void setPort(int port)
port
- public int getPort()
public boolean isAutoClose()
public void setAutoClose(boolean autoClose)
public int incrementRefCounter()
public int decrementRefCounter()
Copyright © 2000–2022 EPAM Systems. All rights reserved.