AeroGear SimplePush Server Protocol 0.11.0

org.jboss.aerogear.simplepush.protocol
Interface MessageType

All Known Subinterfaces:
AckMessage, HelloMessage, HelloResponse, NotificationMessage, PingMessage, RegisterMessage, RegisterResponse, UnregisterMessage, UnregisterResponse
All Known Implementing Classes:
AckMessageImpl, HelloMessageImpl, HelloResponseImpl, NotificationMessageImpl, PingMessageImpl, RegisterMessageImpl, RegisterResponseImpl, UnregisterMessageImpl, UnregisterResponseImpl

public interface MessageType

Represents the 'messageType' of a messages in the SimplePush specification protocol.

All messages sent between the UserAgent and the SimplePush Server identified using a field named 'messageType'. Note that one exception to this is the Ping message which does not have a messageType.

See Also:
HelloMessage, HelloResponse, RegisterMessage, RegisterResponse, NotificationMessage, AckMessage, UnregisterMessage, UnregisterResponse

Nested Class Summary
static class MessageType.Type
           
 
Field Summary
static String MESSSAGE_TYPE_FIELD
          The name of the messageType JSON field.
 
Method Summary
 MessageType.Type getMessageType()
          Returns the Type of this message.
 

Field Detail

MESSSAGE_TYPE_FIELD

static final String MESSSAGE_TYPE_FIELD
The name of the messageType JSON field.

See Also:
Constant Field Values
Method Detail

getMessageType

MessageType.Type getMessageType()
Returns the Type of this message.

Returns:
Type the MessageType.Type of this message.

AeroGear SimplePush Server Protocol 0.11.0

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