|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.javagroups.Header | +--org.javagroups.blocks.RequestCorrelator.Header
The header for RequestCorrelator messages
Field Summary | |
---|---|
java.util.Stack |
call_stack
Contains senders (e.g. |
java.util.List |
dest_mbrs
Contains a list of members who should receive the request (others will drop). |
long |
id
The id of this request to distinguish among other requests from the same RequestCorrelator |
java.lang.String |
name
The unique name of the associated RequestCorrelator |
static int |
REQ
|
static int |
RSP
|
boolean |
rsp_expected
msg is synchronous if true |
int |
type
Type of header: request or reply |
Fields inherited from class org.javagroups.Header |
---|
HDR_OVERHEAD |
Constructor Summary | |
---|---|
RequestCorrelator.Header()
Used for externalization |
|
RequestCorrelator.Header(int type,
long id,
boolean rsp_expected,
java.lang.String name)
|
Method Summary | |
---|---|
void |
readExternal(java.io.ObjectInput in)
Read the header from the given stream |
java.lang.String |
toString()
|
void |
writeExternal(java.io.ObjectOutput out)
Write out the header to the given stream |
Methods inherited from class org.javagroups.Header |
---|
size |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int REQ
public static final int RSP
public int type
public long id
public boolean rsp_expected
public java.lang.String name
public java.util.Stack call_stack
public java.util.List dest_mbrs
Constructor Detail |
public RequestCorrelator.Header()
public RequestCorrelator.Header(int type, long id, boolean rsp_expected, java.lang.String name)
type
- type of header (REQ/RSP)id
- id of this header relative to ids of other requests
originating from the same correlatorrsp_expected
- whether it's a sync or async requestname
- the name of the RequestCorrelator from which
this header originatesMethod Detail |
public java.lang.String toString()
toString
in class Header
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |