|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.deegree_impl.services.OGCWebServiceEvent_Impl
This is the defining interface for event objects that contains a request, a response that should be made available for a service.
the kind of contained imformation can be determined by calling the getType method.--------------------------------------------------------------------
Field Summary | |
private OGCWebServiceClient |
client
|
private java.lang.String |
id
|
private java.lang.String |
message
|
private OGCWebServiceRequest |
request
|
private OGCWebServiceResponse |
response
|
private int |
type
|
Fields inherited from class java.util.EventObject |
source |
Fields inherited from interface org.deegree.services.OGCWebServiceEvent |
REQUEST, RESPONSE |
Constructor Summary | |
OGCWebServiceEvent_Impl(java.lang.Object source,
OGCWebServiceRequest request,
java.lang.String message)
Creates a new OGCWebServiceEvent_Impl object. |
|
OGCWebServiceEvent_Impl(java.lang.Object source,
OGCWebServiceRequest request,
java.lang.String message,
OGCWebServiceClient client)
Creates a new OGCWebServiceEvent_Impl object. |
|
OGCWebServiceEvent_Impl(java.lang.Object source,
OGCWebServiceResponse response,
java.lang.String message)
Creates a new OGCWebServiceEvent_Impl object. |
Method Summary | |
OGCWebServiceClient |
getDestination()
returns the client where to write the result/response or an error message to |
OGCWebService |
getEventSource()
returns the instance of the OGCWebService that is the source of the event. |
java.lang.String |
getId()
returns the id of the of the request which performance caused the event. |
java.lang.String |
getMessage()
|
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 MESSAGE EXCEPTION An EXCEPTION will allways be a response to a request or a message. |
java.lang.String |
toString()
|
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private OGCWebServiceClient client
private OGCWebServiceRequest request
private OGCWebServiceResponse response
private java.lang.String id
private int type
private java.lang.String message
Constructor Detail |
public OGCWebServiceEvent_Impl(java.lang.Object source, OGCWebServiceRequest request, java.lang.String message)
source
- request
- message
- public OGCWebServiceEvent_Impl(java.lang.Object source, OGCWebServiceRequest request, java.lang.String message, OGCWebServiceClient client)
source
- request
- message
- client
- public OGCWebServiceEvent_Impl(java.lang.Object source, OGCWebServiceResponse response, java.lang.String message)
source
- response
- message
- Method Detail |
public java.lang.String getId()
getId
in interface OGCWebServiceEvent
public int getType()
getType
in interface OGCWebServiceEvent
public OGCWebServiceRequest getRequest()
getRequest
in interface OGCWebServiceEvent
public OGCWebServiceResponse getResponse()
getResponse
in interface OGCWebServiceEvent
public OGCWebService getEventSource()
public OGCWebServiceClient getDestination()
getDestination
in interface OGCWebServiceEvent
public java.lang.String getMessage()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |