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;
  
Default implementation of com.sitewhere.spi.device.event.processor.IInboundEventProcessor interface with nothing implemented.

Author(s):
Derek
 
 public abstract class InboundEventProcessor extends LifecycleComponent implements IInboundEventProcessor {
 
 	public InboundEventProcessor() {
 	}
 
 	/*
 	 * (non-Javadoc)
 	 * 
 	 * @see com.sitewhere.spi.server.lifecycle.ILifecycleComponent#start()
 	 */
 	public void start() throws SiteWhereException {
 	}
 
 	/*
 	 * (non-Javadoc)
 	 * 
 	 * @see com.sitewhere.spi.server.lifecycle.ILifecycleComponent#stop()
 	 */
 	public void stop() throws SiteWhereException {
 	}
 
 	/*
 	 * (non-Javadoc)
 	 * 
 	 * @see
 	 * com.sitewhere.spi.device.event.processor.IInboundEventProcessor#onRegistrationRequest
 	 * (java.lang.String, java.lang.String,
 	 * com.sitewhere.spi.device.event.request.IDeviceRegistrationRequest)
 	 */
 	public void onRegistrationRequest(String hardwareIdString originatorIDeviceRegistrationRequest request)
 			throws SiteWhereException {
 	}
 
 	/*
 	 * (non-Javadoc)
 	 * 
 	 * @see com.sitewhere.spi.device.event.processor.IInboundEventProcessor#
 	 * onDeviceCommandResponseRequest(java.lang.String, java.lang.String,
 	 * com.sitewhere.spi.device.event.request.IDeviceCommandResponseCreateRequest)
 	 */
 	public void onDeviceCommandResponseRequest(String hardwareIdString originator,
 	}
 
 	/*
 	 * (non-Javadoc)
 	 * 
 	 * @see com.sitewhere.spi.device.event.processor.IInboundEventProcessor#
 	 * onDeviceMeasurementsCreateRequest(java.lang.String, java.lang.String,
 	 * com.sitewhere.spi.device.event.request.IDeviceMeasurementsCreateRequest)
 	 */
 	public void onDeviceMeasurementsCreateRequest(String hardwareIdString originator,
 	}
 
 	/*
 	 * (non-Javadoc)
 	 * 
 	 * @see com.sitewhere.spi.device.event.processor.IInboundEventProcessor#
 	 * onDeviceLocationCreateRequest(java.lang.String, java.lang.String,
 	 * com.sitewhere.spi.device.event.request.IDeviceLocationCreateRequest)
 	 */
 	public void onDeviceLocationCreateRequest(String hardwareIdString originator,
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see com.sitewhere.spi.device.event.processor.IInboundEventProcessor#
	 * onDeviceAlertCreateRequest(java.lang.String, java.lang.String,
	 * com.sitewhere.spi.device.event.request.IDeviceAlertCreateRequest)
	 */
	public void onDeviceAlertCreateRequest(String hardwareIdString originator,
	}
	/*
	 * (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,
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see com.sitewhere.spi.device.event.processor.IInboundEventProcessor#
	 * onDeviceStreamDataCreateRequest(java.lang.String, java.lang.String,
	 * com.sitewhere.spi.device.event.request.IDeviceStreamDataCreateRequest)
	 */
	public void onDeviceStreamDataCreateRequest(String hardwareIdString originator,
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see com.sitewhere.spi.device.event.processor.IInboundEventProcessor#
	 * onSendDeviceStreamDataRequest(java.lang.String, java.lang.String,
	 * com.sitewhere.spi.device.event.request.ISendDeviceStreamDataRequest)
	 */
	public void onSendDeviceStreamDataRequest(String hardwareIdString originator,
	}
New to GrepCode? Check out our FAQ X