org.ogf.graap.wsag.server.api
Interface AgreementAcceptanceListener


public interface AgreementAcceptanceListener

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. A client may instantiate an acceptance endpoint and register an acceptance handler that is invoked as soon the agreement responder send the notification.

Author:
Oliver Waeldrich
See Also:
AgreementAcceptanceFactory

Method Summary
 void accept()
          Notifies the handler of an agreement acceptance.
 void reject()
          Notifies the handler of an agreement rejection.
 

Method Detail

accept

void accept()
Notifies the handler of an agreement acceptance.


reject

void reject()
Notifies the handler of an agreement rejection.



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