Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * Copyright (c) SiteWhere, LLC. All rights reserved. http://www.sitewhere.com
  *
  * The software in this package is published under the terms of the CPAL v1.0
  * license, a copy of which has been included with this distribution in the
  * LICENSE.txt file.
  */
 package com.sitewhere.device.event.processor;
 
Handles requests related to device streams.

Author(s):
Derek
public class DeviceStreamProcessor extends InboundEventProcessor {

Static logger instance
	private static Logger LOGGER = Logger.getLogger(DeviceStreamProcessor.class);
	/*
	 * (non-Javadoc)
	 * 
	 * @see com.sitewhere.spi.device.event.processor.IInboundEventProcessor#
	 * onDeviceStreamCreateRequest(java.lang.String, java.lang.String,
	 * com.sitewhere.spi.device.event.request.IDeviceStreamCreateRequest)
	 */
	public void onDeviceStreamCreateRequest(String hardwareIdString originator,
				hardwareIdrequest);
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see com.sitewhere.spi.device.event.processor.IInboundEventProcessor#
	 * onDeviceStreamDataCreateRequest(java.lang.String, java.lang.String,
	 * java.lang.String,
	 * com.sitewhere.spi.device.event.request.IDeviceStreamDataCreateRequest)
	 */
	public void onDeviceStreamDataCreateRequest(String hardwareIdString originator,
				hardwareIdrequest);
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see com.sitewhere.device.event.processor.InboundEventProcessor#
	 * onSendDeviceStreamDataRequest(java.lang.String, java.lang.String,
	 * com.sitewhere.spi.device.event.request.ISendDeviceStreamDataRequest)
	 */
	public void onSendDeviceStreamDataRequest(String hardwareIdString originator,
				hardwareIdrequest);
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see com.sitewhere.spi.server.lifecycle.ILifecycleComponent#getLogger()
	 */
	public Logger getLogger() {
		return ;
	}
New to GrepCode? Check out our FAQ X