UdpControllerBuilder |
UdpControllerBuilder.withBindAddress(java.lang.String address) |
Mandatory, the address on which this socket is to bind to receive and send datagrams.
|
UdpControllerBuilder |
UdpControllerBuilder.withClock(java.time.Clock clock) |
Optional, defaults to system clock but can be overriden
|
UdpControllerBuilder |
UdpControllerBuilder.withDeviceId(short deviceId) |
Mandatory, specifies the device ID to listen for.
|
UdpControllerBuilder |
UdpControllerBuilder.withExecutor(java.util.concurrent.ScheduledExecutorService executor) |
Optional, defaults to creating a suitable executor for single connectivity
|
UdpControllerBuilder |
UdpControllerBuilder.withHeartbeatFrequency(int frequency) |
Optional, defaults to 10 seconds between heartbeats.
|
UdpControllerBuilder |
UdpControllerBuilder.withLocalName(java.lang.String name) |
Optional, Set the name of this connection, defaults to NoName
|
UdpControllerBuilder |
UdpControllerBuilder.withMenuTree(MenuTree tree) |
Mandatory, the menuTree instance to store the menu items retrieved from the remote side.
|
UdpControllerBuilder |
UdpControllerBuilder.withPort(int port) |
Mandatory, the port locally on which to bind for multicast packets.
|
UdpControllerBuilder |
UdpControllerBuilder.withProtocol(MenuCommandProtocol protocol) |
Optional, defaults to the standard protocol.
|
UdpControllerBuilder |
UdpControllerBuilder.withSendAsDevice(boolean asDevice) |
Optional, normally set to false, as usually the Java API is not providing a menu as a device.
|
UdpControllerBuilder |
UdpControllerBuilder.withSendFreq(long sendFreq) |
Optional, specifies the amount of time to wait before publishing a packet in millis, to try and send more than one
at a time.
|