public class ModbusTcpMasterConfig extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ModbusTcpMasterConfig.Builder |
| Constructor and Description |
|---|
ModbusTcpMasterConfig(String address,
int port,
java.time.Duration timeout,
boolean autoConnect,
Optional<String> instanceId,
ExecutorService executor,
io.netty.channel.EventLoopGroup eventLoop,
io.netty.util.HashedWheelTimer wheelTimer,
java.util.function.Consumer<io.netty.bootstrap.Bootstrap> bootstrapConsumer) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAddress() |
java.util.function.Consumer<io.netty.bootstrap.Bootstrap> |
getBootstrapConsumer() |
io.netty.channel.EventLoopGroup |
getEventLoop() |
ExecutorService |
getExecutor() |
Optional<String> |
getInstanceId() |
int |
getPort() |
java.time.Duration |
getTimeout() |
io.netty.util.HashedWheelTimer |
getWheelTimer() |
boolean |
isAutoConnect()
Deprecated.
|
public ModbusTcpMasterConfig(String address, int port, java.time.Duration timeout, @Deprecated boolean autoConnect, Optional<String> instanceId, ExecutorService executor, io.netty.channel.EventLoopGroup eventLoop, io.netty.util.HashedWheelTimer wheelTimer, java.util.function.Consumer<io.netty.bootstrap.Bootstrap> bootstrapConsumer)
public String getAddress()
public int getPort()
public java.time.Duration getTimeout()
@Deprecated public boolean isAutoConnect()
public ExecutorService getExecutor()
public io.netty.channel.EventLoopGroup getEventLoop()
public io.netty.util.HashedWheelTimer getWheelTimer()
public java.util.function.Consumer<io.netty.bootstrap.Bootstrap> getBootstrapConsumer()
Copyright © 2016. All rights reserved.