TsgcWSPClient_AMQP1 › Methods › Ping
Sends an empty AMQP 1.0 frame as a keep-alive so the peer does not trip its idle-timeout.
procedure Ping;
AMQP 1.0 uses a zero-length "empty frame" as its heartbeat: a frame header with no body. When AMQPOptions.IdleTimeout is greater than zero the component enables the WebSocket/broker heartbeat timer at half that interval and calls Ping automatically. You can also call it manually from application code when you need to preemptively prove liveness to the peer — for example before issuing a long-running request over a link. It is a no-op when the connection is not yet open.
oAMQP1.Ping;