![]() |
Habari STOMP Client for RabbitMQ 10.1
Object Pascal STOMP client library for RabbitMQ
|
Heart-beat interface. More...
Public Member Functions | |
| SendHeartbeat () | |
| Send a Stomp heart-beat byte on the connection. | |
| CheckHeartbeat () | |
| Check if a Stomp heart-beat byte was received on the connection. | |
| Boolean | ReceiveHeartbeat (Integer ATimeOut) |
| Try to read a Stomp heart-beat byte on the connection. | |
Heart-beat interface.
| IHeartbeat::CheckHeartbeat | ( | ) |
Check if a Stomp heart-beat byte was received on the connection.
| EBTStompError | if the server does not send heart-beats. |
| EBTStompServerHeartbeatMissing | if the heart-beat was late. |
| Boolean IHeartbeat::ReceiveHeartbeat | ( | Integer | ATimeOut | ) |
Try to read a Stomp heart-beat byte on the connection.
| ATimeOut | timeout |
| EMQException | if the time-out is less than 1. |
| EMQException | if the transport layer is not connected. |
| EBTStompError | if the protocol level does not support heart-beats. |
| IHeartbeat::SendHeartbeat | ( | ) |
Send a Stomp heart-beat byte on the connection.
| EBTStompError | if the server does not expect heart-beats. |