| /** |
| * Copyright (c) 2017 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.client.snamessage.gateway; |
| |
| import org.eclipse.sensinact.studio.http.client.snamessage.SnaMessage; |
| import org.json.JSONObject; |
| |
| /** |
| * @author nj246216 |
| * |
| */ |
| public class ResponseCustom extends SnaMessage { |
| |
| private String source; |
| |
| public ResponseCustom(String source,JSONObject json) { |
| super(json); |
| this.source=source; |
| } |
| |
| public String getSource() { |
| return source; |
| } |
| |
| |
| |
| } |