| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private final ClientCommunicatorAdmin. | |
| private static final int | |
| private static final int | |
| private final int[] | |
| private static final ClassLogger | |
| private long | |
| private static final int | |
| private int | |
| private static final int | |
| private static volatile long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract void | |
| protected abstract void | |
| protected abstract void | |
| public void | |
| private void | |
| public void |
| checker | back to summary |
|---|---|
| private final ClientCommunicatorAdmin. | |
| CONNECTED | back to summary |
|---|---|
| private static final int CONNECTED | |
| FAILED | back to summary |
|---|---|
| private static final int FAILED | |
| lock | back to summary |
|---|---|
| private final int[] lock | |
| logger | back to summary |
|---|---|
| private static final ClassLogger logger | |
| period | back to summary |
|---|---|
| private long period | |
| RE_CONNECTING | back to summary |
|---|---|
| private static final int RE_CONNECTING | |
| state | back to summary |
|---|---|
| private int state | |
| TERMINATED | back to summary |
|---|---|
| private static final int TERMINATED | |
| threadNo | back to summary |
|---|---|
| private static volatile long threadNo | |
| ClientCommunicatorAdmin | back to summary |
|---|---|
| public ClientCommunicatorAdmin(long period) | |
| checkConnection | back to summary |
|---|---|
| protected abstract void checkConnection() throws IOException Called by this class to check a client connection. | |
| doStart | back to summary |
|---|---|
| protected abstract void doStart() throws IOException Tells a client to re-start again. | |
| doStop | back to summary |
|---|---|
| protected abstract void doStop() Tells a client to stop because failing to call checkConnection. | |
| gotIOException | back to summary |
|---|---|
| public void gotIOException(IOException ioe) throws IOException Called by a client to inform of getting an IOException. | |
| restart | back to summary |
|---|---|
| private void restart(IOException ioe) throws IOException | |
| terminate | back to summary |
|---|---|
| public void terminate() Terminates this object. | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| private void |
| myThread | back to summary |
|---|---|
| private Thread myThread | |
| Checker | back to summary |
|---|---|
| private Checker() | |
| run | back to summary |
|---|---|
| public void run() Implements java. Doc from java. Runs this operation. | |
| stop | back to summary |
|---|---|
| private void stop() | |