|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the defining interface for event objects that contains a request, a response, a message or an exception the should be made available for a service.
the kind of contained imformation can be determined by calling the getType method.--------------------------------------------------------------------
Field Summary | |
static int |
REQUEST
|
static int |
RESPONSE
|
Method Summary | |
OGCWebServiceClient |
getDestination()
returns the client where to write the result/response or an error message to |
java.lang.String |
getId()
returns the id of the of the request which performance caused the event. |
OGCWebServiceRequest |
getRequest()
if the event is a REQUEST type the method returns the request transported by the event. otherwise null will be returned. |
OGCWebServiceResponse |
getResponse()
if the event is a RESPONSE type the method returns the response transported by the event. otherwise null will be returned. |
int |
getType()
returns the type of event. possible values are: REQUSET RESPONSE An EXCEPTION will allways be a response to a request or a message. |
Field Detail |
public static final int REQUEST
public static final int RESPONSE
Method Detail |
public java.lang.String getId()
public int getType()
public OGCWebServiceRequest getRequest()
public OGCWebServiceResponse getResponse()
public OGCWebServiceClient getDestination()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |