| /** |
| * Copyright (c) 2019 CEA. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * CEA - initial API and implementation and/or initial documentation |
| */ |
| package org.eclipse.sensinact.studio.http.services.client.listener; |
| |
| import java.util.List; |
| |
| import org.eclipse.sensinact.studio.http.messages.snamessage.MsgSensinact; |
| |
| /** |
| * @author Etienne Gandrille |
| */ |
| public interface NotifSubscriptionListener { |
| |
| void onLifecycleEvent(String gateway, List<MsgSensinact> messages); |
| |
| void onLocationEvent(String gateway, List<MsgSensinact> messages); |
| |
| void onIconEvent(String gateway, List<MsgSensinact> messages); |
| |
| void onValueEvent(String gateway, List<MsgSensinact> messages); |
| } |