com.google.android.gcm.server
Class MulticastResult

java.lang.Object
  extended by com.google.android.gcm.server.MulticastResult
All Implemented Interfaces:
java.io.Serializable

public final class MulticastResult
extends java.lang.Object
implements java.io.Serializable

Result of a GCM multicast message request .

See Also:
Serialized Form

Method Summary
 int getCanonicalIds()
          Gets the number of successful messages that also returned a canonical registration id.
 int getFailure()
          Gets the number of failed messages.
 long getMulticastId()
          Gets the multicast id.
 java.util.List<Result> getResults()
          Gets the results of each individual message, which is immutable.
 java.util.List<java.lang.Long> getRetryMulticastIds()
          Gets additional ids if more than one multicast message was sent.
 int getSuccess()
          Gets the number of successful messages.
 int getTotal()
          Gets the total number of messages sent, regardless of the status.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getMulticastId

public long getMulticastId()
Gets the multicast id.


getSuccess

public int getSuccess()
Gets the number of successful messages.


getTotal

public int getTotal()
Gets the total number of messages sent, regardless of the status.


getFailure

public int getFailure()
Gets the number of failed messages.


getCanonicalIds

public int getCanonicalIds()
Gets the number of successful messages that also returned a canonical registration id.


getResults

public java.util.List<Result> getResults()
Gets the results of each individual message, which is immutable.


getRetryMulticastIds

public java.util.List<java.lang.Long> getRetryMulticastIds()
Gets additional ids if more than one multicast message was sent.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object