Nitido Inc.

com.nitido.nim
Class IndividualStatus

java.lang.Object
  extended by com.nitido.nim.IndividualStatus

public class IndividualStatus
extends java.lang.Object

IndividulaStatus object was introduced for NotificationService. It represents the delivery status of the individual message registered to the NotificationService.


Nested Class Summary
static class IndividualStatus.Status
          Enum of the possible state of the status.
 
Field Summary
protected  int _code
          FIXME: Needed? Status code which can be used by the clients to load appropriate messages.
protected  java.lang.Exception _exception
          An exception, if any, that was encountered by the delivery channel in its attempt to deliver this message.
protected  boolean _isFinalStatus
          Is this the final status update regarding this message.
protected  java.lang.String _recipient
          The recipient string that represents the user to whom this messagge was sent.
protected  IndividualStatus.Status _status
          One of the possible status types for this message/recipient.
 
Constructor Summary
IndividualStatus(IndividualStatus.Status type, int code, java.lang.Exception exception, boolean isFinal)
          Default constructor.
 
Method Summary
 int getCode()
           
 long getCreationTime()
           
 java.lang.Exception getException()
           
 java.lang.String getRecipient()
           
 IndividualStatus.Status getStatus()
           
 boolean isFinalStatus()
           
 void setCode(int code)
           
 void setException(java.lang.Exception exception)
           
 void setIsFinalStatus(boolean finalStatus)
           
 void setRecipient(java.lang.String recipient)
           
 void setStatus(IndividualStatus.Status status)
           
 java.lang.String toString()
          Format this object into debug string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_recipient

protected java.lang.String _recipient
The recipient string that represents the user to whom this messagge was sent.


_status

protected IndividualStatus.Status _status
One of the possible status types for this message/recipient.


_code

protected int _code
FIXME: Needed? Status code which can be used by the clients to load appropriate messages.


_exception

protected java.lang.Exception _exception
An exception, if any, that was encountered by the delivery channel in its attempt to deliver this message.


_isFinalStatus

protected boolean _isFinalStatus
Is this the final status update regarding this message.

Constructor Detail

IndividualStatus

public IndividualStatus(IndividualStatus.Status type,
                        int code,
                        java.lang.Exception exception,
                        boolean isFinal)
Default constructor.

Method Detail

getCode

public int getCode()

setCode

public void setCode(int code)

getException

public java.lang.Exception getException()

setException

public void setException(java.lang.Exception exception)

isFinalStatus

public boolean isFinalStatus()

setIsFinalStatus

public void setIsFinalStatus(boolean finalStatus)

getStatus

public IndividualStatus.Status getStatus()

setStatus

public void setStatus(IndividualStatus.Status status)

getRecipient

public java.lang.String getRecipient()

setRecipient

public void setRecipient(java.lang.String recipient)

getCreationTime

public long getCreationTime()

toString

public java.lang.String toString()
Format this object into debug string.

Overrides:
toString in class java.lang.Object

Nitido NiM 2.5 Java API

These JavaDoc pages are generated for release/nim_2_5-2.5.44

Copyright © 1999-2009 Nitido Inc.    Proprietary and Confidential.    All Rights Reserved.