AeroGear SimplePush Server Protocol 0.11.0

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

java.lang.Object
  extended by org.jboss.aerogear.simplepush.protocol.impl.UnregisterMessageImpl
All Implemented Interfaces:
MessageType, UnregisterMessage
Direct Known Subclasses:
UnregisterResponseImpl

public class UnregisterMessageImpl
extends Object
implements UnregisterMessage


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.aerogear.simplepush.protocol.MessageType
MessageType.Type
 
Field Summary
 
Fields inherited from interface org.jboss.aerogear.simplepush.protocol.MessageType
MESSSAGE_TYPE_FIELD
 
Constructor Summary
UnregisterMessageImpl(String channelId)
           
 
Method Summary
 String getChannelId()
          Returns the channelId that was sent from the UserAgent.
 MessageType.Type getMessageType()
          Returns the Type of this message.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnregisterMessageImpl

public UnregisterMessageImpl(String channelId)
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.

getChannelId

public String getChannelId()
Description copied from interface: UnregisterMessage
Returns the channelId that was sent from the UserAgent.

Specified by:
getChannelId in interface UnregisterMessage
Returns:
String the channelId.

toString

public String toString()
Overrides:
toString in class Object

AeroGear SimplePush Server Protocol 0.11.0

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