|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.continuent.tungsten.common.network.PingNotification
public class PingNotification
Contains status information from a single ping method invocation.
| Constructor Summary | |
|---|---|
PingNotification()
|
|
| Method Summary | |
|---|---|
long |
getDuration()
Returns actual ping duration in milliseconds. |
java.lang.Throwable |
getException()
Returns an exception generated by the ping method, if any. |
java.lang.String |
getHostName()
Returns the host for which this ping notification used. |
java.lang.String |
getMethodName()
Returns the ping method used. |
java.lang.String |
getNotes()
Returns a comment string generated by the ping method to provide audit tracking about what was done. |
long |
getTimeout()
Returns the ping timeout in milliseconds. |
boolean |
isReachable()
Returns true if the method determined the host was reachable. |
void |
setDuration(long duration)
|
void |
setException(java.lang.Throwable exception)
|
void |
setHostName(java.lang.String hostName)
|
void |
setMethodName(java.lang.String methodName)
|
void |
setNotes(java.lang.String notes)
|
void |
setReachable(boolean reachable)
|
void |
setTimeout(long timeout)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PingNotification()
| Method Detail |
|---|
public java.lang.String getHostName()
public void setHostName(java.lang.String hostName)
public boolean isReachable()
public void setReachable(boolean reachable)
public java.lang.String getMethodName()
public void setMethodName(java.lang.String methodName)
public long getTimeout()
public void setTimeout(long timeout)
public long getDuration()
public void setDuration(long duration)
public java.lang.String getNotes()
public void setNotes(java.lang.String notes)
public java.lang.Throwable getException()
public void setException(java.lang.Throwable exception)
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||