|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectEventObject
WebServiceEvent
public final class WebServiceEvent
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 | |
|---|---|
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 |
|---|
public static final int REQUEST
public static final int RESPONSE
| Constructor Detail |
|---|
public WebServiceEvent(WebService source,
WebServiceRequest request,
String message)
source - request - message -
public WebServiceEvent(WebService source,
WebServiceRequest request,
String message,
WebServiceClient client)
source - request - message - client -
public WebServiceEvent(WebService source,
WebServiceResponse response,
String message)
source - response - message - | Method Detail |
|---|
public String getId()
public int getType()
public WebServiceRequest getRequest()
public WebServiceResponse getResponse()
public WebService getEventSource()
public WebServiceClient getDestination()
public String getMessage()
public String toString()
toString in class EventObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||