|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjadex.bdi.planlib.watchdog.ObservationDescription
public class ObservationDescription
The observation description
| Field Summary | |
|---|---|
protected IComponentIdentifier |
cid
The identifier of the component to observe. |
protected ContactData[] |
contacts
The contact data. |
protected long |
pingdelay
The delay between pings. |
| Constructor Summary | |
|---|---|
ObservationDescription()
Create a new description. |
|
ObservationDescription(IComponentIdentifier cid,
long pingdelay,
ContactData[] contact)
Create a new description. |
|
| Method Summary | |
|---|---|
IComponentIdentifier |
getComponentIdentifier()
Get the component id. |
ContactData[] |
getContacts()
Get the contact data. |
long |
getPingDelay()
Get the ping delay. |
void |
setComponentIdentifier(IComponentIdentifier cid)
Set the component id. |
void |
setContacts(ContactData[] contacts)
Set the contact data. |
void |
setPingDelay(long pingdelay)
Set the ping delay. |
java.lang.String |
toString()
Returns a string representation of the object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected IComponentIdentifier cid
protected long pingdelay
protected ContactData[] contacts
| Constructor Detail |
|---|
public ObservationDescription()
public ObservationDescription(IComponentIdentifier cid,
long pingdelay,
ContactData[] contact)
| Method Detail |
|---|
public IComponentIdentifier getComponentIdentifier()
public void setComponentIdentifier(IComponentIdentifier cid)
cid - The component id;public long getPingDelay()
public void setPingDelay(long pingdelay)
pingdelay - The ping delay.public ContactData[] getContacts()
public void setContacts(ContactData[] contacts)
contacts - The contact data.public java.lang.String toString()
toString method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||