|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--dd.api.DDPublishResp
Respond to a request for a object guid's pointer set, with an array of PublishInfos and whether or not we're the root for that guid.
| Field Summary | |
|---|---|
protected int |
error
One of the error codes defined (or NO_ERROR). |
static String[] |
ERROR_STRING
String representation of error. |
static int |
NO_ERROR
An error code that indicates no error occurred. |
SecureHash |
objguid
The object guid published. |
boolean |
publish
Flag indicating whether request was a publish or unpublish. |
SecureHash |
root
The node where the publish was handled. |
DDTag |
tag
The object tag published. |
static int |
TIMEOUT_ERROR
An error code that timeout. |
Object |
userData
Requestor defined object to be returned in the resp. |
| Constructor Summary | |
|---|---|
DDPublishResp(SecureHash g,
DDTag t,
SecureHash r,
boolean p,
int e,
Object u)
Constructor: Creates a new DDPublishResp. |
|
| Method Summary | |
|---|---|
int |
getErrorCode()
getErrorCode returns the error code. |
boolean |
successful()
successful returns true iff
getErrorCode() == NO_ERROR. |
String |
toString()
Specified by java.lang.Object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int NO_ERROR
public static final int TIMEOUT_ERROR
public static final String[] ERROR_STRING
error.
public SecureHash objguid
guid published.
public DDTag tag
tag published.
public SecureHash root
node where the publish was handled.
public boolean publish
protected int error
NO_ERROR).
public Object userData
| Constructor Detail |
public DDPublishResp(SecureHash g,
DDTag t,
SecureHash r,
boolean p,
int e,
Object u)
DDPublishResp.
g - guid of object published.t - tag of object to published.r - node where the publish was handled.p - Flag indicating whether request was a publish or unpublish.e - One of the error codes defined (or NO_ERROR).u - Requestor defined object to be returned in the resp.| Method Detail |
public boolean successful()
successful returns true iff
getErrorCode() == NO_ERROR.
true iff
getErrorCode() == NO_ERROR.public int getErrorCode()
getErrorCode returns the error code.
public String toString()
toString in class Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||