public class HeartbeatMessage extends Object implements MessageTypeAware, Serializable
| Modifier and Type | Field and Description |
|---|---|
static HeartbeatMessage |
PING
The constant PING.
|
static HeartbeatMessage |
PONG
The constant PONG.
|
| Modifier and Type | Method and Description |
|---|---|
short |
getTypeCode()
Gets type code.
|
boolean |
isPing() |
void |
setPing(boolean ping) |
String |
toString() |
public static final HeartbeatMessage PING
public static final HeartbeatMessage PONG
public short getTypeCode()
MessageTypeAwaregetTypeCode in interface MessageTypeAwarepublic boolean isPing()
public void setPing(boolean ping)
Copyright © 2023 Seata. All rights reserved.