org.jboss.aerogear.simplepush.protocol.impl
Class PingMessageImpl
java.lang.Object
org.jboss.aerogear.simplepush.protocol.impl.PingMessageImpl
- All Implemented Interfaces:
- MessageType, PingMessage
public class PingMessageImpl
- extends Object
- implements PingMessage
JSON
public static final String JSON
PingMessageImpl
public PingMessageImpl()
PingMessageImpl
public PingMessageImpl(String body)
getMessageType
public MessageType.Type getMessageType()
- Description copied from interface:
MessageType
- Returns the Type of this message.
- Specified by:
getMessageType in interface MessageType
- Returns:
Type the MessageType.Type of this message.
toString
public String toString()
- Overrides:
toString in class Object
getPingMessage
public String getPingMessage()
- Description copied from interface:
PingMessage
- Returns contents of the ping message, which should be '{}'.
- Specified by:
getPingMessage in interface PingMessage
- Returns:
String the contents of the ping message.
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.