All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ibm.iotf.client.app.EventCallback Maven / Gradle / Ivy

Go to download

IBM Watson IoT client library to simplify device/gateway/application interactions with the IoT Platform

The newest version!
/**
 *****************************************************************************
 Copyright (c) 2015-16 IBM Corporation and other Contributors.
 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:
 Sathiskumar Palaniappan - Initial Contribution
 *****************************************************************************
 *
 */
package com.ibm.iotf.client.app;

/**
 * This is an interface to capture callbacks (either events or commands) 
 *
 */
public interface EventCallback {

	/**
	 * This method processes Event passed
	 * @param evt
	 * 			an object of Event which represents the Event passed
	 */
	public void processEvent(Event evt);
	
	/**
	 * This method processes the command passed
	 * @param cmd
	 * 			an object of Command which represents the Command passed
	 */
	public void processCommand(Command cmd);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy