001package org.xbib.elasticsearch.websocket; 002 003import org.elasticsearch.client.Client; 004import org.elasticsearch.common.component.AbstractComponent; 005import org.elasticsearch.common.settings.Settings; 006 007/** 008 * The BaseInteractiveHandler is the base class for interactive actions. 009 */ 010public abstract class BaseInteractiveHandler extends AbstractComponent 011 implements InteractiveHandler { 012 013 protected final Client client; 014 015 protected BaseInteractiveHandler(Settings settings, Client client) { 016 super(settings); 017 this.client = client; 018 } 019}