org.jboss.aerogear.simplepush.protocol
Interface RegisterMessage
- All Superinterfaces:
- MessageType
- All Known Subinterfaces:
- RegisterResponse
- All Known Implementing Classes:
- RegisterMessageImpl, RegisterResponseImpl
public interface RegisterMessage
- extends MessageType
Represents the Register message, 'register' message type, in the
SimplePush specification protocol.
This message is sent from the UserAgent to the PushServer to register for notifications using the
channelId. The channelId is create by the UserAgent.
|
Method Summary |
String |
getChannelId()
Returns the channelId that was sent from the UserAgent. |
CHANNEL_ID_FIELD
static final String CHANNEL_ID_FIELD
- The name of the channelID JSON field.
- See Also:
- Constant Field Values
getChannelId
String getChannelId()
- Returns the channelId that was sent from the UserAgent.
- Returns:
String the channelId.
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.