jason.core
Class ServiceRequest

java.lang.Object
  |
  +--jason.core.ServiceRequest
Direct Known Subclasses:
AlertServiceRequest, LogServiceRequest

public class ServiceRequest
extends java.lang.Object

Created Sat May 4 21:37:14 2002

A service request contains a query that a service must resolve. This request is tied with a service response

Author:
Alexandre Brillant (abrillant@wanadoo.fr)
See Also:
Service, ServiceResponse

Constructor Summary
ServiceRequest(java.lang.Object query)
           
ServiceRequest(java.lang.Object query, java.lang.String type)
           
 
Method Summary
 java.lang.Object getQuery()
           
 java.lang.String getType()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceRequest

public ServiceRequest(java.lang.Object query)
Parameters:
query - a query object

ServiceRequest

public ServiceRequest(java.lang.Object query,
                      java.lang.String type)
Parameters:
query - a query object
type - a type for the query
Method Detail

getQuery

public java.lang.Object getQuery()

getType

public java.lang.String getType()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object