001/******************************************************************************* 002 * Copyright (c) 2017 Red Hat Inc and others. 003 * 004 * All rights reserved. This program and the accompanying materials 005 * are made available under the terms of the Eclipse Public License v1.0 006 * which accompanies this distribution, and is available at 007 * http://www.eclipse.org/legal/epl-v10.html 008 * 009 * Contributors: 010 * Red Hat Inc - initial API and implementation 011 *******************************************************************************/ 012package org.eclipse.kapua.gateway.client; 013 014public interface Module { 015 016 public default void initialize(final ModuleContext context) { 017 } 018 019 public default void applicationAdded(final String applicationId) { 020 } 021 022 public default void applicationRemoved(final String applicationId) { 023 } 024 025 public default void connected() { 026 } 027 028 public default void disconnected() { 029 } 030}