class

KNX::TunnelClient

Inherits Reference < Object

Constructors

new(control : Socket::IPAddress, timeout : Time::Span = 3.seconds, max_retries : Int32 = 5, knx : KNX = ::KNX.new(broadcast: false, no_repeat: true))
Source

Instance methods

action(address : String, data, **options)
Source
channel_id
Source
connect

establish comms

Source
connected?
Source
connecting?
Source
control
Source
disconnect

perform a graceful disconnect

Source
max_retries
Source
max_retries=(max_retries : Int32)
Source
on_message

a cEMI frame has been sent from the interface

Source
on_state_change

connected or disconnected state changed

Source
on_transmit

send some data to the remote

Source
process(raw_data : Bytes)

process incoming data

Source
process(packet : KNX::ConnectResponse)

A new connection has been established

Source
process(packet : KNX::TunnelRequest)
Source
process(packet : KNX::TunnelResponse)
Source
query_state

keep alive

Source
queue_size
Source
request(message : KNX::CEMI)

perform an action / query

Source
retransmit
Source
sequence
Source
shutdown!

perform a hard and fast disconnect, instance is not re-usable

Source
status(address : String, **options)
Source
timeout
Source
timeout=(timeout : Time::Span)
Source
waiting?
Source

Nested types