Class KeyValueEndpoint

All Implemented Interfaces:
Endpoint, Stateful<LifecycleState>

public class KeyValueEndpoint
extends AbstractEndpoint
This endpoint defines the pipeline for binary requests and responses.
Since:
1.0
Author:
Michael Nitschinger
  • Constructor Details

    • KeyValueEndpoint

      @Deprecated public KeyValueEndpoint​(String hostname, String bucket, String password, int port, CoreContext ctx)
      Deprecated.
      Create a new KeyValueEndpoint.
      Parameters:
      hostname - the hostname to connect on this endpoint.
      ctx - the core context used.
    • KeyValueEndpoint

      public KeyValueEndpoint​(String hostname, String bucket, String username, String password, int port, CoreContext ctx)
      Create a new KeyValueEndpoint.
      Parameters:
      hostname - the hostname to connect on this endpoint.
      ctx - the core context used.
  • Method Details

    • customEndpointHandlers

      protected void customEndpointHandlers​(ChannelPipeline pipeline)
      Description copied from class: AbstractEndpoint
      Add custom endpoint handlers to the ChannelPipeline. This method needs to be implemented by the actual endpoint implementations to add specific handlers to the pipeline depending on the endpoint type and intended behavior.
      Specified by:
      customEndpointHandlers in class AbstractEndpoint
      Parameters:
      pipeline - the pipeline where to add handlers.