HeartBeat
data class HeartBeat(val minSendPeriod: Duration = Duration.ZERO, val expectedPeriod: Duration = Duration.ZERO)(source)
Defines heart beats for STOMP sessions, as defined in the STOMP specification.
Constructors
Properties
Link copied to clipboard
Represents what the sender of the frame would like to get (incoming heart-beats). The value 0 means it does not want to receive heart-beats, otherwise it is the desired time between heart-beats.
Link copied to clipboard
Represents what the sender of the frame can do (outgoing heart-beats). The value 0 means it cannot send heart-beats, otherwise it is the smallest time between heart-beats that it can guarantee.