AeroGear SimplePush Server Protocol 0.11.0

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

java.lang.Object
  extended by org.jboss.aerogear.simplepush.protocol.impl.StatusImpl
All Implemented Interfaces:
Status

public class StatusImpl
extends Object
implements Status


Constructor Summary
StatusImpl(int code, String message)
           
 
Method Summary
 int getCode()
          Returns the error code for this Status.
 String getMessage()
          Returns the message for this Status.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StatusImpl

public StatusImpl(int code,
                  String message)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getCode

public int getCode()
Description copied from interface: Status
Returns the error code for this Status.

Specified by:
getCode in interface Status
Returns:
int the error code for this Status.

getMessage

public String getMessage()
Description copied from interface: Status
Returns the message for this Status.

Specified by:
getMessage in interface Status
Returns:
String the message for this status.

AeroGear SimplePush Server Protocol 0.11.0

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