public class ServerSocketReceiver extends ReceiverBase
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_BACKLOG
Default
ServerSocket backlog |
Constructor and Description |
---|
ServerSocketReceiver() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAddress()
Gets the local address for the listener.
|
int |
getBacklog()
Gets the listener queue depth.
|
int |
getPort()
Gets the local port for the listener.
|
void |
setAddress(java.lang.String address)
Sets the local address for the listener.
|
void |
setBacklog(int backlog)
Sets the listener queue depth.
|
void |
setPort(int port)
Sets the local port for the listener.
|
isStarted, start, stop
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
public static final int DEFAULT_BACKLOG
ServerSocket
backlogpublic int getPort()
public void setPort(int port)
port
- the local port to setpublic int getBacklog()
This represents the number of connected clients whose connections have not yet been accepted.
ServerSocket
public void setBacklog(int backlog)
This represents the number of connected clients whose connections have not yet been accepted.
backlog
- the queue depth to setServerSocket
public java.lang.String getAddress()
public void setAddress(java.lang.String address)
address
- a host name or a string representation of an IP addressCopyright © 2010 - 2020 Adobe. All Rights Reserved