@groovy.util.logging.Slf4j class ConnectionManager extends java.lang.Object
A manager of Connections.
| Modifiers | Name | Description |
|---|---|---|
protected static java.lang.Object |
LOCALHOST |
| Constructor and description |
|---|
ConnectionManager
(ConnectionSettings connectionSettings1) |
| Type | Name and description |
|---|---|
Connection |
connect(Remote remote)Establish a connection. |
void |
waitAndClose()Wait for pending connections and close all. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Establish a connection.
remote - the remote hostWait for pending connections and close all.