org.opengis.webservice
Class WebServiceEvent

Show UML class diagram
Object
  extended by EventObject
      extended by WebServiceEvent
All Implemented Interfaces:
Serializable

Deprecated. Legacy code of deegree 1.x.

public final class WebServiceEvent
extends EventObject

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.

See Also:
Serialized Form

Field Summary
static int REQUEST
          Deprecated.  
static int RESPONSE
          Deprecated.  
 
Fields inherited from class EventObject
source
 
Constructor Summary
WebServiceEvent(WebService source, WebServiceRequest request, String message)
          Deprecated. Creates a new WebServiceEvent object.
WebServiceEvent(WebService source, WebServiceRequest request, String message, WebServiceClient client)
          Deprecated. Creates a new WebServiceEvent object.
WebServiceEvent(WebService source, WebServiceResponse response, String message)
          Deprecated. Creates a new WebServiceEvent object.
 
Method Summary
 WebServiceClient getDestination()
          Deprecated. Returns the client where to write the result/response or an error message to
 WebService getEventSource()
          Deprecated. Returns the instance of the OGCWebService that is the source of the event.
 String getId()
          Deprecated. Returns the id of the of the request which performance caused the event.
 String getMessage()
          Deprecated.  
 WebServiceRequest getRequest()
          Deprecated. If the event is a REQUEST type the method returns the request transported by the event. otherwise null will be returned.
 WebServiceResponse getResponse()
          Deprecated. If the event is a RESPONSE type the method returns the response transported by the event. otherwise null will be returned.
 int getType()
          Deprecated. 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.
 String toString()
          Deprecated.  
 
Methods inherited from class EventObject
getSource
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

REQUEST

public static final int REQUEST
Deprecated. 
See Also:
Constant Field Values

RESPONSE

public static final int RESPONSE
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

WebServiceEvent

public WebServiceEvent(WebService source,
                       WebServiceRequest request,
                       String message)
Deprecated. 
Creates a new WebServiceEvent object.

Parameters:
source -
request -
message -

WebServiceEvent

public WebServiceEvent(WebService source,
                       WebServiceRequest request,
                       String message,
                       WebServiceClient client)
Deprecated. 
Creates a new WebServiceEvent object.

Parameters:
source -
request -
message -
client -

WebServiceEvent

public WebServiceEvent(WebService source,
                       WebServiceResponse response,
                       String message)
Deprecated. 
Creates a new WebServiceEvent object.

Parameters:
source -
response -
message -
Method Detail

getId

public String getId()
Deprecated. 
Returns the id of the of the request which performance caused the event.


getType

public int getType()
Deprecated. 
Returns the type of event. possible values are: An EXCEPTION will allways be a response to a request or a message.


getRequest

public WebServiceRequest getRequest()
Deprecated. 
If the event is a REQUEST type the method returns the request transported by the event. otherwise null will be returned.


getResponse

public WebServiceResponse getResponse()
Deprecated. 
If the event is a RESPONSE type the method returns the response transported by the event. otherwise null will be returned.


getEventSource

public WebService getEventSource()
Deprecated. 
Returns the instance of the OGCWebService that is the source of the event.


getDestination

public WebServiceClient getDestination()
Deprecated. 
Returns the client where to write the result/response or an error message to


getMessage

public String getMessage()
Deprecated. 

toString

public String toString()
Deprecated. 
Overrides:
toString in class EventObject


Copyright © 1994-2013 Open Geospatial Consortium. All Rights Reserved.