|
||||||||||
| 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 unavailable
AgreementTemplateType[] getNegotiableTemplates()
throws ResourceUnknownException,
ResourceUnavailableException
ResourceUnknownException - the remote resource is unknown
ResourceUnavailableException - the remote resource is unavailable
NegotiationOfferType[] getNegotiationOffers()
throws ResourceUnknownException,
ResourceUnavailableException
ResourceUnknownException - the remote resource is unknown
ResourceUnavailableException - the remote resource is unavailable
NegotiationOfferType[] 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 unavailable
void 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 unavailable
void destroy()
throws ResourceUnknownException,
ResourceUnavailableException
ResourceUnknownException - the remote resource is unknown
ResourceUnavailableException - the remote resource is unavailable
NegotiationOfferType 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 unavailable
void terminate()
throws ResourceUnknownException,
ResourceUnavailableException
ResourceUnknownException - the remote resource is unknown
ResourceUnavailableException - the remote resource is unavailable
NegotiationClient 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 | |||||||||