org.jboss.aerogear.simplepush.protocol.impl
Class RegisterMessageImpl
java.lang.Object
org.jboss.aerogear.simplepush.protocol.impl.RegisterMessageImpl
- All Implemented Interfaces:
- MessageType, RegisterMessage
- Direct Known Subclasses:
- RegisterResponseImpl
public class RegisterMessageImpl
- extends Object
- implements RegisterMessage
RegisterMessageImpl
public RegisterMessageImpl(String channelId)
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.
getChannelId
public String getChannelId()
- Description copied from interface:
RegisterMessage
- Returns the channelId that was sent from the UserAgent.
- Specified by:
getChannelId in interface RegisterMessage
- Returns:
String the channelId.
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.