|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OWLRequestManager
Defines the operations to send a request expressed by an OWL String.
Method Summary | |
---|---|
java.lang.String |
sendOWLRequest(FeedbackReceiver feedbackReceiver,
kaos.core.service.directory.KAoSEntityDescription receiverDesc,
java.lang.String owlActionDescription)
This method sends a request to an entity identified by the given receiverDesc to perform an action described by the given String, which is in the OWL format. |
java.lang.String |
sendOWLRequest(FeedbackReceiver feedbackReceiver,
java.lang.String receiverID,
java.lang.String owlActionDescription)
This method sends a request to an entity identified by the given receiverID to perform an action described by the given String, which is in the OWL format. |
java.lang.Object |
sendOWLRequest(kaos.core.service.directory.KAoSEntityDescription receiverDesc,
java.lang.String owlActionDescription)
This method sends a request described by an OWL String to perform an action by an entity identified by the KAoSEntityDescription. |
java.lang.Object |
sendOWLRequest(java.lang.String receiverID,
java.lang.String owlActionDescription)
This method sends a request described by an OWL String to perform an action by an entity identified by the receiverID. |
Method Detail |
---|
java.lang.String sendOWLRequest(FeedbackReceiver feedbackReceiver, java.lang.String receiverID, java.lang.String owlActionDescription) throws ActionFailureException, NotLocatableException, TransportFailure
feedbackReceiver
- is the FeedbackReceiver requesting the action.
All feedback from the action execution will be sent to it.receiverID
- is the String that identifies the entity, which is
requested to perform the action. The receiverID is the one
that the action executor has registered with KAoS.owlActionDescription
- is an OWL String that describes the action.
It includes the action name and all action properties and their values.
ActionFailureException
- containing the reason for failure.
See ontology to determine specific reasons available for
a given action
NotLocatableException
- when the entity reqested to perform the action cannot be located.
TransportFailure
- when the request cannot be sent due to transport failure.java.lang.String sendOWLRequest(FeedbackReceiver feedbackReceiver, kaos.core.service.directory.KAoSEntityDescription receiverDesc, java.lang.String owlActionDescription) throws ActionFailureException, NotLocatableException, TransportFailure
feedbackReceiver
- is the FeedbackReceiver requesting the action.
All feedback from the action execution will be sent to it.receiverDesc
- is a KAosEntityDescription of the entity, which is requested
to perform the action.owlActionDescription
- is an OWL String that describes the action.
It includes the action name and all action properties and their values.
ActionFailureException
- containing the reason for failure.
See ontology to determine specific reasons available for
a given action
NotLocatableException
- when the entity reqested to perform the action cannot be located.
TransportFailure
- when the request cannot be sent due to transport failure.java.lang.Object sendOWLRequest(java.lang.String receiverID, java.lang.String owlActionDescription) throws ActionFailureException, NotLocatableException, TransportFailure
receiverID
- is the String that identifies the entity, which is
requested to perform the action. The receiverID is the one
that the action executor has registered with KAoS.owlActionDescription
- is an OWL String that describes the action.
It includes the action name and all action properties and their values.
ActionFailureException
- containing the reason for failure.
See ontology to determine specific reasons available for
a given action
NotLocatableException
- when the entity reqested to perform the action cannot be located.
TransportFailure
- when the request cannot be sent due to transport failure.java.lang.Object sendOWLRequest(kaos.core.service.directory.KAoSEntityDescription receiverDesc, java.lang.String owlActionDescription) throws ActionFailureException, NotLocatableException, TransportFailure
receiverDesc
- is the KAoSEntityDescription that identifies the entity, which is
requested to perform the action.owlActionDescription
- is an OWL String that describes the action.
It includes the action name and all action properties and their values.
ActionFailureException
- containing the reason for failure.
See ontology to determine specific reasons available for
a given action
NotLocatableException
- when the entity reqested to perform the action cannot be located.
TransportFailure
- when the request cannot be sent due to transport failure.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |