Interface OfferListener


public interface OfferListener
An interface which all classes interested in hearing about chat offers associated to a particular AgentSession instance should implement.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    The implementing class instance will be notified via this when the AgentSession has received an offer for a chat.
    void
    offerRevoked(RevokedOffer revokedOffer)
    The implementing class instance will be notified via this when the AgentSession has received a revocation of a previously extended offer.
  • Method Details

    • offerReceived

      void offerReceived(Offer request)
      The implementing class instance will be notified via this when the AgentSession has received an offer for a chat. The instance will then have the ability to accept, reject, or ignore the request (resulting in a revocation-by-timeout).
      Parameters:
      request - the Offer instance embodying the details of the offer
    • offerRevoked

      void offerRevoked(RevokedOffer revokedOffer)
      The implementing class instance will be notified via this when the AgentSession has received a revocation of a previously extended offer.
      Parameters:
      revokedOffer - the RevokedOffer instance embodying the details of the revoked offer