org.ogf.graap.wsag.wsrf
Interface AgreementAcceptanceClient

All Superinterfaces:
WsClient
All Known Implementing Classes:
RemoteAgreementAcceptanceClientImpl

public interface AgreementAcceptanceClient
extends WsClient

When a pending agreement is created, the agreement initiator may specify an acceptance endpoint that is notified on the agreement responders decision, namely the acceptance or rejection of the offer. The AgreementAcceptanceClient defines the Java API for an acceptance service.

Author:
Oliver Waeldrich

Method Summary
 void accept()
          Sends an accept notification to the initiator.
 void reject()
          Sends an reject notification to the initiator.
 
Methods inherited from interface org.ogf.graap.wsag.api.client.WsClient
getEndpoint, getProperties, getSecurityProperties, isUsingTrace, setProperties, setTrace
 

Method Detail

accept

void accept()
            throws ResourceUnknownException,
                   ResourceUnavailableException
Sends an accept notification to the initiator.

Throws:
ResourceUnknownException - the referenced resource is not known
ResourceUnavailableException - the referenced resource is unavailable

reject

void reject()
            throws ResourceUnknownException,
                   ResourceUnavailableException
Sends an reject notification to the initiator.

Throws:
ResourceUnknownException - the referenced resource is not known
ResourceUnavailableException - the referenced resource is unavailable


Copyright © 2008-2012 Fraunhofer Institute SCAI. All Rights Reserved.