| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private int | |
| private int | |
| public static final int | DEFAULT_BACKLOG
Default |
| public static final int | DEFAULT_CLIENT_QUEUE_SIZE
Default queue size used for each client |
| private int | |
| private ServerRunner |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| protected ServerListener | |
| protected ServerRunner | |
| public String | Returns: a string representation of the local addressGets the local address for the listener. |
| public int | |
| public int | |
| protected InetAddress | Returns: anInetAddress representation of the local address.Gets the local address for the listener. |
| public int | |
| protected abstract PreSerializationTransformer | |
| protected ServerSocketFactory | Returns: socket factory.Gets the factory used to create |
| protected abstract void | |
| public void | setAddress(String
a host name or a string representation of an IP address address)Sets the local address for the listener. |
| public void | |
| public void | setClientQueueSize(int
the queue size to set clientQueueSize)Sets the event queue size used for each client connection. |
| public void | |
| public void | start()
Overrides ch. Implements ch. |
| public void | stop()
Overrides ch. Implements ch. |
| address | back to summary |
|---|---|
| private String address | |
| backlog | back to summary |
|---|---|
| private int backlog | |
| clientQueueSize | back to summary |
|---|---|
| private int clientQueueSize | |
| DEFAULT_BACKLOG | back to summary |
|---|---|
| public static final int DEFAULT_BACKLOG Default | |
| DEFAULT_CLIENT_QUEUE_SIZE | back to summary |
|---|---|
| public static final int DEFAULT_CLIENT_QUEUE_SIZE Default queue size used for each client | |
| port | back to summary |
|---|---|
| private int port | |
| runner | back to summary |
|---|---|
| private ServerRunner<RemoteReceiverClient> runner | |
| AbstractServerSocketAppender | back to summary |
|---|---|
| public AbstractServerSocketAppender() | |
| append | back to summary |
|---|---|
| protected void append(E event) Implements abstract ch.
| |
| createServerListener | back to summary |
|---|---|
| protected ServerListener | |
| createServerRunner | back to summary |
|---|---|
| protected ServerRunner | |
| getAddress | back to summary |
|---|---|
| public String getAddress() Gets the local address for the listener.
| |
| getBacklog | back to summary |
|---|---|
| public int getBacklog() Gets the listener queue depth. This represents the number of connected clients whose connections have not yet been accepted.
| |
| getClientQueueSize | back to summary |
|---|---|
| public int getClientQueueSize() Gets the event queue size used for each client connection.
| |
| getInetAddress | back to summary |
|---|---|
| protected InetAddress getInetAddress() throws UnknownHostException Gets the local address for the listener.
| |
| getPort | back to summary |
|---|---|
| public int getPort() Gets the local port for the listener.
| |
| getPST | back to summary |
|---|---|
| protected abstract PreSerializationTransformer Gets a transformer that will be used to convert a received event to a
| |
| getServerSocketFactory | back to summary |
|---|---|
| protected ServerSocketFactory getServerSocketFactory() throws Exception Gets the factory used to create
The default implementation delegates to
| |
| postProcessEvent | back to summary |
|---|---|
| protected abstract void postProcessEvent(E event) Postprocess an event received via | |
| setAddress | back to summary |
|---|---|
| public void setAddress(String address) Sets the local address for the listener.
| |
| setBacklog | back to summary |
|---|---|
| public void setBacklog(int backlog) Sets the listener queue depth. This represents the number of connected clients whose connections have not yet been accepted.
| |
| setClientQueueSize | back to summary |
|---|---|
| public void setClientQueueSize(int clientQueueSize) Sets the event queue size used for each client connection.
| |
| setPort | back to summary |
|---|---|
| public void setPort(int port) Sets the local port for the listener.
| |
| start | back to summary |
|---|---|
| public void start() Overrides ch. Implements ch.
| |
| stop | back to summary |
|---|---|
| public void stop() Overrides ch. Implements ch.
| |