jason.core
Class ServiceResponse
java.lang.Object
|
+--jason.core.ServiceResponse
- public class ServiceResponse
- extends java.lang.Object
Created Sat May 4 21:39:15 2002
ServiceResponse
- See Also:
Service
,
ServiceRequest
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EMPTY_RESPONSE
public static ServiceResponse EMPTY_RESPONSE
- Specify this value when your service has done a valid request management but needn't to
return a response
UNMANAGED_RESPONSE
public static ServiceResponse UNMANAGED_RESPONSE
- Return this valid when your service don't know how to process a request
ServiceResponse
public ServiceResponse(java.lang.Object response)
- Parameters:
response
- a response object
ServiceResponse
public ServiceResponse(java.lang.Object response,
java.lang.String type)
- Parameters:
response
- a response objecttype
- a type object
getResponse
public java.lang.Object getResponse()
getType
public java.lang.String getType()