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
MESSSAGE_TYPE_FIELD
static final String MESSSAGE_TYPE_FIELD
- The name of the messageType JSON field.
- See Also:
- Constant Field Values
getMessageType
MessageType.Type getMessageType()
- Returns the Type of this message.
- Returns:
Type the MessageType.Type of this message.
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.