|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NegotiationService
NegotiationService
Method Summary | |
---|---|
void |
advertise(NegotiationOfferType[] offers)
Advertises a set of negotiation offers. |
void |
destroy()
Destroys this web service object. |
AgreementTemplateType[] |
getNegotiableTemplates()
A negotiation instance supports zero or more templates that can be used to create negotiation offers. |
NegotiationContextType |
getNegotiationContext()
Returns the context of this negotiation process. |
NegotiationOfferType[] |
getNegotiationOffers()
Returns a history of exchanged offers in this negotiation process. |
WsClient |
getWebServiceClient()
|
NegotiationOfferType[] |
negotiate(NegotiationOfferType[] offers)
Negotiates a set of agreement offers. |
void |
terminate()
Terminates a negotiation process. |
Method Detail |
---|
NegotiationContextType getNegotiationContext() throws ResourceUnknownException, ResourceUnavailableException
ResourceUnknownException
- the remote resource is unknown
ResourceUnavailableException
- the remote resource is unavailableAgreementTemplateType[] getNegotiableTemplates() throws ResourceUnknownException, ResourceUnavailableException
ResourceUnknownException
- the remote resource is unknown
ResourceUnavailableException
- the remote resource is unavailableNegotiationOfferType[] getNegotiationOffers() throws ResourceUnknownException, ResourceUnavailableException
ResourceUnknownException
- the remote resource is unknown
ResourceUnavailableException
- the remote resource is unavailableNegotiationOfferType[] negotiate(NegotiationOfferType[] offers) throws NegotiationException, ResourceUnknownException, ResourceUnavailableException
offers
- the offers to negotiate
NegotiationException
- an error occured processing the negotiation request
ResourceUnknownException
- the remote resource is unknown
ResourceUnavailableException
- the remote resource is unavailablevoid advertise(NegotiationOfferType[] offers) throws NegotiationException, ResourceUnknownException, ResourceUnavailableException
offers
- the offers to advertise
NegotiationException
- an error occured processing the negotiation request
ResourceUnknownException
- the remote resource is unknown
ResourceUnavailableException
- the remote resource is unavailablevoid terminate() throws ResourceUnknownException, ResourceUnavailableException
ResourceUnknownException
- the remote resource is unknown
ResourceUnavailableException
- the remote resource is unavailableWsClient getWebServiceClient()
void destroy() throws ResourceUnknownException, ResourceUnavailableException
ResourceUnknownException
- the remote resource is unknown
ResourceUnavailableException
- the remote resource is unavailable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |