|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.nitido.nim.IndividualStatus
public class IndividualStatus
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 |
---|
protected java.lang.String _recipient
protected IndividualStatus.Status _status
protected int _code
protected java.lang.Exception _exception
protected boolean _isFinalStatus
Constructor Detail |
---|
public IndividualStatus(IndividualStatus.Status type, int code, java.lang.Exception exception, boolean isFinal)
Method Detail |
---|
public int getCode()
public void setCode(int code)
public java.lang.Exception getException()
public void setException(java.lang.Exception exception)
public boolean isFinalStatus()
public void setIsFinalStatus(boolean finalStatus)
public IndividualStatus.Status getStatus()
public void setStatus(IndividualStatus.Status status)
public java.lang.String getRecipient()
public void setRecipient(java.lang.String recipient)
public long getCreationTime()
public java.lang.String toString()
toString
in class java.lang.Object
|
Nitido NiM 2.5 Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1999-2009 Nitido Inc. Proprietary and Confidential. All Rights Reserved.