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;
  
Acts as a decorator for injecting a com.sitewhere.spi.device.event.processor.IOutboundEventProcessorChain into the default processing flow.

Author(s):
Derek
 
Processor chain
 
 
 		this(delegate,
 	}
 
 		super(delegate);
 		this. = outbound;
 	}
 
 	/*
 	 * (non-Javadoc)
 	 * 
 	 * @see
 	 * com.sitewhere.rest.model.device.DeviceManagementDecorator#addDeviceEventBatch(java
 	 * .lang.String, com.sitewhere.spi.device.event.IDeviceEventBatch)
 	 */
 			throws SiteWhereException {
 		return SiteWherePersistence.deviceEventBatchLogic(assignmentTokenbatchthis);
 	}
 
 	/*
 	 * (non-Javadoc)
 	 * 
 	 * @see
 	 * com.sitewhere.rest.model.device.DeviceManagementDecorator#addDeviceMeasurements
 	 * (java.lang.String,
 	 * com.sitewhere.spi.device.event.request.IDeviceMeasurementsCreateRequest)
 	 */
 	public IDeviceMeasurements addDeviceMeasurements(String assignmentToken,
 		IDeviceMeasurements result = super.addDeviceMeasurements(assignmentTokenrequest);
 		return result;
 	}
 
 	/*
 	 * (non-Javadoc)
 	 * 
 	 * @see
 	 * com.sitewhere.rest.model.device.DeviceManagementDecorator#addDeviceLocation(java
 	 * .lang.String, com.sitewhere.spi.device.event.request.IDeviceLocationCreateRequest)
 	 */
 			throws SiteWhereException {
 		IDeviceLocation result = super.addDeviceLocation(assignmentTokenrequest);
 		return result;
 	}
 
	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * com.sitewhere.rest.model.device.DeviceManagementDecorator#addDeviceAlert(java.lang
	 * .String, com.sitewhere.spi.device.event.request.IDeviceAlertCreateRequest)
	 */
	public IDeviceAlert addDeviceAlert(String assignmentTokenIDeviceAlertCreateRequest request)
		IDeviceAlert result = super.addDeviceAlert(assignmentTokenrequest);
		return result;
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * com.sitewhere.rest.model.device.DeviceManagementDecorator#addDeviceCommandInvocation
	 * (java.lang.String, com.sitewhere.spi.device.command.IDeviceCommand,
	 * com.sitewhere.spi.device.event.request.IDeviceCommandInvocationCreateRequest)
	 */
		IDeviceCommandInvocation result = super.addDeviceCommandInvocation(assignmentTokencommandrequest);
		return result;
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * com.sitewhere.rest.model.device.DeviceManagementDecorator#addDeviceCommandResponse
	 * (java.lang.String,
	 * com.sitewhere.spi.device.event.request.IDeviceCommandResponseCreateRequest)
	 */
		IDeviceCommandResponse result = super.addDeviceCommandResponse(assignmentTokenrequest);
		return result;
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * com.sitewhere.device.DeviceManagementDecorator#createBatchOperation(com.sitewhere
	 * .spi.device.request.IBatchOperationCreateRequest)
	 */
		IBatchOperation result = super.createBatchOperation(request);
		return result;
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * com.sitewhere.device.DeviceManagementDecorator#createBatchCommandInvocation(com
	 * .sitewhere.spi.device.request.IBatchCommandInvocationRequest)
	 */
		return result;
	}
New to GrepCode? Check out our FAQ X