Class UnsolicitedFeaturesReturnedEvent

java.lang.Object
com.couchbase.client.core.cnc.AbstractEvent
com.couchbase.client.core.cnc.events.io.UnsolicitedFeaturesReturnedEvent
All Implemented Interfaces:
Event

public class UnsolicitedFeaturesReturnedEvent extends AbstractEvent
If the server sends us unsolicited features during the HELLO negotiation, this event will be raised - it is a warning severity since it indicates a server bug.
  • Constructor Details

    • UnsolicitedFeaturesReturnedEvent

      public UnsolicitedFeaturesReturnedEvent(IoContext ctx, List<ServerFeature> unsolicitedFeatures)
  • Method Details

    • description

      public String description()
      Description copied from interface: Event
      A textual description with more information about the event.
      Returns:
      the description, if set.
    • unsolicitedFeatures

      public List<ServerFeature> unsolicitedFeatures()
      Returns the unsolicited features that got returned by the server.
      Returns:
      the list of unsolicited features returned by the server.