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 Details

    • onNegotiationStarted

      default void onNegotiationStarted(NegotiationConfig config)
      Called when a negotiation session starts.
    • onOfferMade

      default void onOfferMade(NegotiationOffer offer)
      Called when an offer is made by a party.
    • onOfferReceived

      default void onOfferReceived(NegotiationOffer offer)
      Called when an offer is received by a party.
    • onCounterOffer

      default void onCounterOffer(NegotiationOffer offer)
      Called when a counter-offer is made.
    • onNegotiationCompleted

      default void onNegotiationCompleted(NegotiationOutcome outcome)
      Called when the negotiation completes (success or failure).