| Package | Description |
|---|---|
| com.thecoderscorner.menu.remote.rs232 |
| Modifier and Type | Method | Description |
|---|---|---|
Rs232ControllerBuilder |
Rs232ControllerBuilder.withClock(java.time.Clock clock) |
Optional, defaults to system clock but can be overriden
|
Rs232ControllerBuilder |
Rs232ControllerBuilder.withExecutor(ScheduledExecutorService executor) |
Optional, defaults to creating a suitable executor for single connectivity
|
Rs232ControllerBuilder |
Rs232ControllerBuilder.withHeartbeatFrequency(int frequency) |
Optional, defaults to 10 seconds between heartbeats.
|
Rs232ControllerBuilder |
Rs232ControllerBuilder.withLocalName(String name) |
Optional, Set the name of this connection, defaults to NoName
|
Rs232ControllerBuilder |
Rs232ControllerBuilder.withMenuTree(MenuTree tree) |
Mandatory, the menuTree instance to store the menu items retrieved from the remote side.
|
Rs232ControllerBuilder |
Rs232ControllerBuilder.withProtocol(MenuCommandProtocol protocol) |
Optional, defaults to the standard protocol.
|
Rs232ControllerBuilder |
Rs232ControllerBuilder.withRs232(String port,
int baud) |
Mandatory, specifies the port name and baud rate for rs232.
|
Copyright © 2018. All rights reserved.