public abstract class Connection extends Object
| Modifier and Type | Field and Description |
|---|---|
protected HostAddress |
serverAddr |
| Constructor and Description |
|---|
Connection() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
close() |
HostAddress |
getServerAddress() |
abstract void |
open(HostAddress address,
int timeout) |
abstract void |
open(HostAddress address,
int timeout,
SSLParam sslParam) |
abstract boolean |
ping() |
abstract void |
reopen() |
protected HostAddress serverAddr
public HostAddress getServerAddress()
public abstract void open(HostAddress address, int timeout, SSLParam sslParam) throws IOErrorException, ClientServerIncompatibleException
public abstract void open(HostAddress address, int timeout) throws IOErrorException, ClientServerIncompatibleException
public abstract void reopen()
throws IOErrorException,
ClientServerIncompatibleException
public abstract void close()
public abstract boolean ping()
Copyright © 2022. All rights reserved.