public class PingMessageImpl extends Object implements PingMessage
MessageType.Type| Modifier and Type | Field and Description |
|---|---|
static String |
JSON |
PING_MESSAGEMESSSAGE_TYPE_FIELD| Constructor and Description |
|---|
PingMessageImpl() |
PingMessageImpl(String body) |
| Modifier and Type | Method and Description |
|---|---|
MessageType.Type |
getMessageType()
Returns the Type of this message.
|
String |
getPingMessage()
Returns contents of the ping message, which should be '{}'.
|
String |
toString() |
public static final String JSON
public PingMessageImpl()
public PingMessageImpl(String body)
public MessageType.Type getMessageType()
MessageTypegetMessageType in interface MessageTypeType the MessageType.Type of this message.public String getPingMessage()
PingMessagegetPingMessage in interface PingMessageString the contents of the ping message.Copyright © 2014 JBoss by Red Hat. All Rights Reserved.