public class AutoConnectClient extends Object implements AutoCloseable
| Modifier and Type | Class and Description |
|---|---|
static interface |
AutoConnectClient.ModulesFactory |
static class |
AutoConnectClient.State |
static interface |
AutoConnectClient.StateListener |
| Constructor and Description |
|---|
AutoConnectClient(String host,
int port,
ProtocolOptions options,
AutoConnectClient.ModulesFactory modulesFactory,
AutoConnectClient.StateListener stateListener) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected void |
createClient(InetSocketAddress resolvedAddress) |
protected void |
handleConnected() |
protected void |
lookup() |
boolean |
writeCommand(Object command) |
public AutoConnectClient(String host, int port, ProtocolOptions options, AutoConnectClient.ModulesFactory modulesFactory, AutoConnectClient.StateListener stateListener)
protected void lookup()
protected void createClient(InetSocketAddress resolvedAddress)
public boolean writeCommand(Object command)
public void close()
throws InterruptedException
close in interface AutoCloseableInterruptedExceptionprotected void handleConnected()
Copyright © 2014 Eclipse SCADA Project. All rights reserved.