|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjgroup.relacs.mss.MsgRouting
public final class MsgRouting
The MsgRouting class
| Field Summary |
|---|
| Fields inherited from interface jgroup.relacs.mss.MssConstants |
|---|
ALL, EHANDLER_PRIORITY, HEADER_SIZE, MINIMUM_ALIVE_VALUE, MSS_HEADER_SIZE, MSSUSER_PRIORITY, NACKSUPPRESSION, NI_PRIORITY, OVERHEAD_SIZE, ROUTING_ENABLED, TRAILER_SIZE, UNDEF, UNREACHABLE |
| Fields inherited from interface jgroup.relacs.mss.MssTag |
|---|
ASYN, CONGESTION, EXTERNFC, FWDROUTING, IAMALIVE, JG, LOCALFC, NACK, NOTLASTFRAGMENT, PING_OBJECT, QSYN, REMOTENACK, ROUTING, SENT, SENTNACK, SYN, TAGTYPE, TOPOLOGY |
| Constructor Summary | |
|---|---|
MsgRouting()
|
|
| Method Summary | |
|---|---|
static int |
getMaxSize(int numOfHosts,
int numOfClusters)
Return the largest possible size that a MsgRouting
message may consume, for the given distributed system size. |
int |
getMid()
Returns the message identifier for this message; all routing messages have UNDEF as their message identifier. |
jgroup.relacs.mss.MsgFlowSndrSide |
getMsgFlow()
Returns the message flow controller for the sender side. |
OutMessage |
getOutMessage()
Returns the OutMessage associated with this message. |
MssHost |
getSender()
Returns the sender of this message. |
byte |
getTag()
Returns the tag associated to this message. |
jgroup.relacs.mss.TopologyEntry[] |
getTopologyTable()
Returns the topology table associated with the routing table attached with this message. |
boolean |
hasToBeRouted()
Returns false always, since routing messages should never be routed. |
FragmentIterator |
iterator(jgroup.relacs.mss.MsgCntrl msgCntrl)
Returns a FragmentIterator for this
MsgRouting object. |
java.lang.String |
toString()
Returns a string representation of this object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MsgRouting()
| Method Detail |
|---|
public static int getMaxSize(int numOfHosts,
int numOfClusters)
MsgRouting
message may consume, for the given distributed system size.
public jgroup.relacs.mss.TopologyEntry[] getTopologyTable()
public FragmentIterator iterator(jgroup.relacs.mss.MsgCntrl msgCntrl)
FragmentIterator for this
MsgRouting object. This iterator allows to send the
entire message as multiple fragments of specified size (payload).
At the same time, it marks each fragment with a tag and message
identifier provided through the next() method of the
iterator.
iterator in interface Msgpublic byte getTag()
getTag in interface Msgpublic int getMid()
UNDEF as their message identifier.
getMid in interface Msgpublic MssHost getSender()
getSender in interface Msgpublic boolean hasToBeRouted()
hasToBeRouted in interface Msgpublic jgroup.relacs.mss.MsgFlowSndrSide getMsgFlow()
getMsgFlow in interface Msgpublic OutMessage getOutMessage()
OutMessage associated with this message.
getOutMessage in interface Msgpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||