|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NegotiationClient
Client interface for perfoming dynamic negotiation processes with a WSAG4J server.
Field Summary | |
---|---|
static ClientLocator<NegotiationClient> |
FACTORY
Default builder. |
Method Summary | |
---|---|
void |
advertise(NegotiationOfferType[] offers)
Advertises a set of negotiation offers. |
NegotiationClient |
clone()
Returns a copy of the client. |
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 |
getNegotiationOffer(String offerID)
Returns the Negotiation Offer with the given offer id |
NegotiationOfferType[] |
getNegotiationOffers()
Returns a history of exchanged offers in this negotiation process. |
RemoteClient |
getRemoteClient()
Returns the web-service client used for communication with the SLA management server. |
NegotiationOfferType[] |
negotiate(NegotiationOfferType[] offers)
Negotiates a set of agreement offers. |
void |
terminate()
Terminates a negotiation. |
Field Detail |
---|
static final ClientLocator<NegotiationClient> FACTORY
Method Detail |
---|
RemoteClient getRemoteClient()
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 destroy() throws ResourceUnknownException, ResourceUnavailableException
ResourceUnknownException
- the remote resource is unknown
ResourceUnavailableException
- the remote resource is unavailableNegotiationOfferType getNegotiationOffer(String offerID) throws ResourceUnknownException, ResourceUnavailableException
offerID
- the offerID of the negotiation offer to retrieve
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 unavailableNegotiationClient clone() throws CloneNotSupportedException
CloneNotSupportedException
- indicates that a particular client implementation does not support cloning
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |