|
J-Sim v1.2.1-p7 API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectdrcl.DrclObj
drcl.comp.Message
drcl.inet.contract.McastHostEvent.Message
| Constructor Summary | |
McastHostEvent.Message()
|
|
McastHostEvent.Message(int type_,
long src_,
long srcmask_,
long group_,
int ifindex_)
|
|
| Method Summary | |
java.lang.Object |
clone()
Returns a clone of this object. |
void |
duplicate(java.lang.Object source_)
opies the content of the source_ object to this object. |
Contract |
getContract()
Returns the associated contract of this message. |
long |
getGroup()
Returns the group field from the event struct. |
int |
getIfIndex()
Returns the interface index from the event struct. |
long |
getSource()
Returns the source field from the event struct. |
long |
getSourceMask()
Returns the source field from the event struct. |
boolean |
isJoin()
Returns true if the message is a join event. |
boolean |
isLeave()
Returns true if the event struct is a leave event. |
java.lang.String |
toString(java.lang.String separator_)
Prints the content of the message by separating each field with the separator string. |
| Methods inherited from class drcl.comp.Message |
toString |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public McastHostEvent.Message()
public McastHostEvent.Message(int type_,
long src_,
long srcmask_,
long group_,
int ifindex_)
| Method Detail |
public boolean isJoin()
public boolean isLeave()
public long getGroup()
public long getSource()
public long getSourceMask()
public int getIfIndex()
public void duplicate(java.lang.Object source_)
DrclObjsource_ object to this object.
he subclass must implement this method to realize DrclObj.clone().
duplicate in interface ObjectDuplicableduplicate in class DrclObjpublic java.lang.Object clone()
DrclObjDrclObj.duplicate(Object) to duplicate the content of this object to
the newly-created one.
This method uses getClass().newInstance() to create
new instance. Hence,
subclasses need to override this method only if the subclass is not
declared as public or does not have explicit no-argument constructor.
A subclass may override this method for performance reason.
clone in interface ObjectDuplicableclone in class DrclObjpublic Contract getContract()
Message
getContract in class Messagepublic java.lang.String toString(java.lang.String separator_)
Message
toString in class Message
|
J-Sim v1.2.1-p7 API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||