Package | Description |
---|---|
io.vertx.ext.stomp |
Modifier and Type | Method and Description |
---|---|
static Frame.Heartbeat |
Frame.Heartbeat.create(JsonObject json)
Creates an instance of
Frame.Heartbeat from the JSON configuration provides in the
client / server options. |
static Frame.Heartbeat |
Frame.Heartbeat.parse(String header)
Creates an instance of
Frame.Heartbeat from the heartbeat header of a frame
. |
Modifier and Type | Method and Description |
---|---|
static long |
Frame.Heartbeat.computePingPeriod(Frame.Heartbeat client,
Frame.Heartbeat server)
Computes the ping period.
|
static long |
Frame.Heartbeat.computePongPeriod(Frame.Heartbeat client,
Frame.Heartbeat server)
Computes the pong period.
|
Copyright © 2023 Eclipse. All rights reserved.