jade.jademx.agent
Class JademxPingAgent.PingResponse

java.lang.Object
  extended by jade.jademx.agent.JademxPingAgent.PingResponse
Enclosing class:
JademxPingAgent

private class JademxPingAgent.PingResponse
extends java.lang.Object

response to ping. meant as wrapper to be handled with Object.wait() and Object.notify().


Field Summary
private  java.lang.Exception exception
          hold any Exception generated trying to get response
private  java.lang.String response
          hold the response
 
Constructor Summary
private JademxPingAgent.PingResponse()
           
 
Method Summary
 java.lang.Exception getException()
          get any exception set
 java.lang.String getResponse()
          get the ping response
 void setException(java.lang.Exception exception)
          set a exception received trying to get response
 void setResponse(java.lang.String response)
          set the ping response
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

response

private java.lang.String response
hold the response


exception

private java.lang.Exception exception
hold any Exception generated trying to get response

Constructor Detail

JademxPingAgent.PingResponse

private JademxPingAgent.PingResponse()
Method Detail

getResponse

public java.lang.String getResponse()
get the ping response

Returns:
Returns the response.

setResponse

public void setResponse(java.lang.String response)
set the ping response

Parameters:
response - The response to set.

getException

public java.lang.Exception getException()
get any exception set

Returns:
Returns the exception

setException

public void setException(java.lang.Exception exception)
set a exception received trying to get response

Parameters:
exception - The exception to set.


Copyright © 2005-2006 Caboodle Networks, Inc.
LGPL license