|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--dd.api.DDPublishReq
Event that causes DD to publish an object pointer to the given GUID with the given tag.
DDPublishResp| Field Summary | |
|---|---|
SecureHash |
guid
The object guid. |
int |
intermediate_ttl
Time-to-live (in seconds) for object pointer stored at intermediate nodes. |
int |
local_ttl
Time-to-live (in seconds) for object pointer stored locally. |
boolean |
publish
Flag indicating whether request is a publish or unpublish. |
int |
root_ttl
Time-to-live (in seconds) for object pointer at the root node(s). |
SinkIF |
sink
Requestor sink to return resp. |
DDTag |
tag
The object tag. |
Object |
userData
Requestor defined object to be returned in the resp. |
| Constructor Summary | |
|---|---|
DDPublishReq(SecureHash g,
DDTag t,
boolean p,
int local_ttl,
int intermediate_ttl,
int root_ttl,
Object u,
SinkIF s)
Constructor: Creates a new DDPublishReq. |
|
| Method Summary | |
|---|---|
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 SecureHash guid
guid.
public DDTag tag
tag.
public boolean publish
public int local_ttl
public int intermediate_ttl
public int root_ttl
public Object userData
public SinkIF sink
sink to return resp.
| Constructor Detail |
public DDPublishReq(SecureHash g,
DDTag t,
boolean p,
int local_ttl,
int intermediate_ttl,
int root_ttl,
Object u,
SinkIF s)
DDPublishReq.
g - guid of object to publish.t - tag of object to publish.p - Flag indicating whether request is a publish or unpublish.local_ttl - Time-to-live (in seconds) for guid/tag pointer
pair stored locally.intermediate_ttl - Time-to-live (in seconds) for guid/tag pointer
pair stored at intermediate nodes (i.e. along the path between
local and root nodes).root_ttl - Time-to-live (in seconds) for guid/tag pointer
pair stored at the root node(s).u - Requestor defined object to be returned in the resp.s - Requestor sink to return resp| Method Detail |
public String toString()
toString in class Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||