| | |
| | | */ |
| | | public static InternalConnectionHandler getInstance() |
| | | { |
| | | |
| | | return handlerInstance; |
| | | } |
| | | |
| | |
| | | public void finalizeConnectionHandler(String finalizeReason, |
| | | boolean closeConnections) |
| | | { |
| | | |
| | | // No implementation is required. |
| | | } |
| | | |
| | |
| | | */ |
| | | public String getConnectionHandlerName() |
| | | { |
| | | |
| | | return "Internal Connection Handler"; |
| | | } |
| | | |
| | |
| | | */ |
| | | public String getProtocol() |
| | | { |
| | | |
| | | return protocol; |
| | | } |
| | | |
| | |
| | | */ |
| | | public Collection<HostPort> getListeners() |
| | | { |
| | | |
| | | return listeners; |
| | | } |
| | | |
| | |
| | | */ |
| | | public Collection<ClientConnection> getClientConnections() |
| | | { |
| | | |
| | | return connectionList; |
| | | } |
| | | |
| | |
| | | */ |
| | | public void run() |
| | | { |
| | | |
| | | // No implementation is required since this connection handler |
| | | // won't actually accept connections. |
| | | return; |
| | |
| | | */ |
| | | public String toString() |
| | | { |
| | | |
| | | return "Internal Connection Handler"; |
| | | } |
| | | |
| | |
| | | */ |
| | | public void toString(StringBuilder buffer) |
| | | { |
| | | |
| | | buffer.append("Internal Connection Handler"); |
| | | } |
| | | } |