AeroGear SimplePush Server Protocol 0.11.0

org.jboss.aerogear.simplepush.protocol.impl
Class PingMessageImpl

java.lang.Object
  extended by org.jboss.aerogear.simplepush.protocol.impl.PingMessageImpl
All Implemented Interfaces:
MessageType, PingMessage

public class PingMessageImpl
extends Object
implements PingMessage


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.aerogear.simplepush.protocol.MessageType
MessageType.Type
 
Field Summary
static String JSON
           
 
Fields inherited from interface org.jboss.aerogear.simplepush.protocol.PingMessage
PING_MESSAGE
 
Fields inherited from interface org.jboss.aerogear.simplepush.protocol.MessageType
MESSSAGE_TYPE_FIELD
 
Constructor Summary
PingMessageImpl()
           
PingMessageImpl(String body)
           
 
Method Summary
 MessageType.Type getMessageType()
          Returns the Type of this message.
 String getPingMessage()
          Returns contents of the ping message, which should be '{}'.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

JSON

public static final String JSON
Constructor Detail

PingMessageImpl

public PingMessageImpl()

PingMessageImpl

public PingMessageImpl(String body)
Method Detail

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.

AeroGear SimplePush Server Protocol 0.11.0

Copyright © 2014 JBoss by Red Hat. All Rights Reserved.