Interface NegotiationListener
public interface NegotiationListener
Callback interface for observing negotiation events.
All methods have default no-op implementations, so listeners can override only the events they care about.
- Since:
- 0.0.2
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidonCounterOffer(NegotiationOffer offer) Called when a counter-offer is made.default voidonNegotiationCompleted(NegotiationOutcome outcome) Called when the negotiation completes (success or failure).default voidCalled when a negotiation session starts.default voidonOfferMade(NegotiationOffer offer) Called when an offer is made by a party.default voidonOfferReceived(NegotiationOffer offer) Called when an offer is received by a party.
-
Method Details
-
onNegotiationStarted
Called when a negotiation session starts. -
onOfferMade
Called when an offer is made by a party. -
onOfferReceived
Called when an offer is received by a party. -
onCounterOffer
Called when a counter-offer is made. -
onNegotiationCompleted
Called when the negotiation completes (success or failure).
-