当前位置: 首页>>代码示例>>Java>>正文


Java PipeReader.readLong方法代码示例

本文整理汇总了Java中com.ociweb.pronghorn.pipe.PipeReader.readLong方法的典型用法代码示例。如果您正苦于以下问题:Java PipeReader.readLong方法的具体用法?Java PipeReader.readLong怎么用?Java PipeReader.readLong使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在com.ociweb.pronghorn.pipe.PipeReader的用法示例。


在下文中一共展示了PipeReader.readLong方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: consume019

import com.ociweb.pronghorn.pipe.PipeReader; //导入方法依赖的package包/类
public static void consume019(Pipe<PhastCodecSchema> input) {
    long fieldvalue001 = PipeReader.readLong(input,MSG_019_10019_FIELD_VALUE001_1);
    long fieldvalue002 = PipeReader.readLong(input,MSG_019_10019_FIELD_VALUE002_2);
    long fieldvalue003 = PipeReader.readLong(input,MSG_019_10019_FIELD_VALUE003_3);
    long fieldvalue004 = PipeReader.readLong(input,MSG_019_10019_FIELD_VALUE004_4);
    long fieldvalue005 = PipeReader.readLong(input,MSG_019_10019_FIELD_VALUE005_5);
    long fieldvalue006 = PipeReader.readLong(input,MSG_019_10019_FIELD_VALUE006_6);
    long fieldvalue007 = PipeReader.readLong(input,MSG_019_10019_FIELD_VALUE007_7);
    long fieldvalue008 = PipeReader.readLong(input,MSG_019_10019_FIELD_VALUE008_8);
    long fieldvalue009 = PipeReader.readLong(input,MSG_019_10019_FIELD_VALUE009_9);
    long fieldvalue010 = PipeReader.readLong(input,MSG_019_10019_FIELD_VALUE010_10);
    long fieldvalue011 = PipeReader.readLong(input,MSG_019_10019_FIELD_VALUE011_11);
    long fieldvalue012 = PipeReader.readLong(input,MSG_019_10019_FIELD_VALUE012_12);
    long fieldvalue013 = PipeReader.readLong(input,MSG_019_10019_FIELD_VALUE013_13);
    long fieldvalue014 = PipeReader.readLong(input,MSG_019_10019_FIELD_VALUE014_14);
    long fieldvalue015 = PipeReader.readLong(input,MSG_019_10019_FIELD_VALUE015_15);
    long fieldvalue016 = PipeReader.readLong(input,MSG_019_10019_FIELD_VALUE016_16);
    long fieldvalue017 = PipeReader.readLong(input,MSG_019_10019_FIELD_VALUE017_17);
    long fieldvalue018 = PipeReader.readLong(input,MSG_019_10019_FIELD_VALUE018_18);
    long fieldvalue019 = PipeReader.readLong(input,MSG_019_10019_FIELD_VALUE019_19);
}
 
开发者ID:oci-pronghorn,项目名称:Pronghorn,代码行数:22,代码来源:PhastCodecSchema.java

示例2: consume017

import com.ociweb.pronghorn.pipe.PipeReader; //导入方法依赖的package包/类
public static void consume017(Pipe<PhastCodecSchema> input) {
    long fieldvalue001 = PipeReader.readLong(input,MSG_017_10017_FIELD_VALUE001_1);
    long fieldvalue002 = PipeReader.readLong(input,MSG_017_10017_FIELD_VALUE002_2);
    long fieldvalue003 = PipeReader.readLong(input,MSG_017_10017_FIELD_VALUE003_3);
    long fieldvalue004 = PipeReader.readLong(input,MSG_017_10017_FIELD_VALUE004_4);
    long fieldvalue005 = PipeReader.readLong(input,MSG_017_10017_FIELD_VALUE005_5);
    long fieldvalue006 = PipeReader.readLong(input,MSG_017_10017_FIELD_VALUE006_6);
    long fieldvalue007 = PipeReader.readLong(input,MSG_017_10017_FIELD_VALUE007_7);
    long fieldvalue008 = PipeReader.readLong(input,MSG_017_10017_FIELD_VALUE008_8);
    long fieldvalue009 = PipeReader.readLong(input,MSG_017_10017_FIELD_VALUE009_9);
    long fieldvalue010 = PipeReader.readLong(input,MSG_017_10017_FIELD_VALUE010_10);
    long fieldvalue011 = PipeReader.readLong(input,MSG_017_10017_FIELD_VALUE011_11);
    long fieldvalue012 = PipeReader.readLong(input,MSG_017_10017_FIELD_VALUE012_12);
    long fieldvalue013 = PipeReader.readLong(input,MSG_017_10017_FIELD_VALUE013_13);
    long fieldvalue014 = PipeReader.readLong(input,MSG_017_10017_FIELD_VALUE014_14);
    long fieldvalue015 = PipeReader.readLong(input,MSG_017_10017_FIELD_VALUE015_15);
    long fieldvalue016 = PipeReader.readLong(input,MSG_017_10017_FIELD_VALUE016_16);
    long fieldvalue017 = PipeReader.readLong(input,MSG_017_10017_FIELD_VALUE017_17);
}
 
开发者ID:oci-pronghorn,项目名称:Pronghorn,代码行数:20,代码来源:PhastCodecSchema.java

示例3: readAndWrite

import com.ociweb.pronghorn.pipe.PipeReader; //导入方法依赖的package包/类
void readAndWrite(Pipe<ValveSchema> input, Pipe<ValveSchema> output) {
	currentStationId = PipeReader.readInt(input, stationFieldId);
	currentTimeStamp = PipeReader.readLong(input, timestampFieldId);
	if (readValue(input)) {
		publish(output);
	}
	//else {
	//	System.out.format("Filtered %d, %d, %d\n", msgIdx, currentStationId, currentTimeStamp);
	//}
}
 
开发者ID:oci-pronghorn,项目名称:FogLight-Examples,代码行数:11,代码来源:FilterStage.java

示例4: run

import com.ociweb.pronghorn.pipe.PipeReader; //导入方法依赖的package包/类
@Override
public void run() {
	
	while (PipeReader.tryReadFragment(input)) {
		try {
			target.append("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n");

			long id = PipeReader.readLong(input, TwitterEventSchema.MSG_USERPOST_101_FIELD_USERID_51);
			Appendables.appendValue(target, "id:",id);
			
			PipeReader.readUTF8(input, TwitterEventSchema.MSG_USERPOST_101_FIELD_NAME_52, target);
			target.append('\n');
			
			PipeReader.readUTF8(input, TwitterEventSchema.MSG_USERPOST_101_FIELD_SCREENNAME_53, target);
			target.append('\n');			
			
			PipeReader.readUTF8(input, TwitterEventSchema.MSG_USERPOST_101_FIELD_CREATEDAT_57, target);
			target.append('\n');
			
			PipeReader.readUTF8(input, TwitterEventSchema.MSG_USERPOST_101_FIELD_DESCRIPTION_58, target);
			target.append('\n');
			
			PipeReader.readUTF8(input, TwitterEventSchema.MSG_USERPOST_101_FIELD_LANGUAGE_60, target);
			target.append('\n');
			
			PipeReader.readUTF8(input, TwitterEventSchema.MSG_USERPOST_101_FIELD_TIMEZONE_61, target);
			target.append('\n');
			
			PipeReader.readUTF8(input, TwitterEventSchema.MSG_USERPOST_101_FIELD_LOCATION_62, target);
			target.append('\n');
			
			PipeReader.readUTF8(input, TwitterEventSchema.MSG_USERPOST_101_FIELD_TEXT_22, target);
			target.append('\n');
			
		} catch (IOException e) {
			throw new RuntimeException(e);
		}
		PipeReader.releaseReadLock(input);
	}
}
 
开发者ID:oci-pronghorn,项目名称:Pronghorn,代码行数:41,代码来源:TwitterEventDumpStage.java

示例5: consumeHTTPPostChunked

import com.ociweb.pronghorn.pipe.PipeReader; //导入方法依赖的package包/类
public static void consumeHTTPPostChunked(Pipe<ClientHTTPRequestSchema> input) {
    int fieldDestination = PipeReader.readInt(input,MSG_HTTPPOSTCHUNKED_102_FIELD_DESTINATION_11);
    int fieldSession = PipeReader.readInt(input,MSG_HTTPPOSTCHUNKED_102_FIELD_SESSION_10);
    int fieldPort = PipeReader.readInt(input,MSG_HTTPPOSTCHUNKED_102_FIELD_PORT_1);
    StringBuilder fieldHost = PipeReader.readUTF8(input,MSG_HTTPPOSTCHUNKED_102_FIELD_HOST_2,new StringBuilder(PipeReader.readBytesLength(input,MSG_HTTPPOSTCHUNKED_102_FIELD_HOST_2)));
    StringBuilder fieldPath = PipeReader.readUTF8(input,MSG_HTTPPOSTCHUNKED_102_FIELD_PATH_3,new StringBuilder(PipeReader.readBytesLength(input,MSG_HTTPPOSTCHUNKED_102_FIELD_PATH_3)));
    long fieldTotalLength = PipeReader.readLong(input,MSG_HTTPPOSTCHUNKED_102_FIELD_TOTALLENGTH_6);
    DataInputBlobReader<ClientHTTPRequestSchema> fieldPayloadChunk = PipeReader.inputStream(input, MSG_HTTPPOSTCHUNKED_102_FIELD_PAYLOADCHUNK_5);
}
 
开发者ID:oci-pronghorn,项目名称:Pronghorn,代码行数:10,代码来源:ClientHTTPRequestSchema.java

示例6: consume033

import com.ociweb.pronghorn.pipe.PipeReader; //导入方法依赖的package包/类
public static void consume033(Pipe<PhastCodecSchema> input) {
    long fieldvalue001 = PipeReader.readLong(input,MSG_033_10033_FIELD_VALUE001_1);
    long fieldvalue002 = PipeReader.readLong(input,MSG_033_10033_FIELD_VALUE002_2);
    long fieldvalue003 = PipeReader.readLong(input,MSG_033_10033_FIELD_VALUE003_3);
    long fieldvalue004 = PipeReader.readLong(input,MSG_033_10033_FIELD_VALUE004_4);
    long fieldvalue005 = PipeReader.readLong(input,MSG_033_10033_FIELD_VALUE005_5);
    long fieldvalue006 = PipeReader.readLong(input,MSG_033_10033_FIELD_VALUE006_6);
    long fieldvalue007 = PipeReader.readLong(input,MSG_033_10033_FIELD_VALUE007_7);
    long fieldvalue008 = PipeReader.readLong(input,MSG_033_10033_FIELD_VALUE008_8);
    long fieldvalue009 = PipeReader.readLong(input,MSG_033_10033_FIELD_VALUE009_9);
    long fieldvalue010 = PipeReader.readLong(input,MSG_033_10033_FIELD_VALUE010_10);
    long fieldvalue011 = PipeReader.readLong(input,MSG_033_10033_FIELD_VALUE011_11);
    long fieldvalue012 = PipeReader.readLong(input,MSG_033_10033_FIELD_VALUE012_12);
    long fieldvalue013 = PipeReader.readLong(input,MSG_033_10033_FIELD_VALUE013_13);
    long fieldvalue014 = PipeReader.readLong(input,MSG_033_10033_FIELD_VALUE014_14);
    long fieldvalue015 = PipeReader.readLong(input,MSG_033_10033_FIELD_VALUE015_15);
    long fieldvalue016 = PipeReader.readLong(input,MSG_033_10033_FIELD_VALUE016_16);
    long fieldvalue017 = PipeReader.readLong(input,MSG_033_10033_FIELD_VALUE017_17);
    long fieldvalue018 = PipeReader.readLong(input,MSG_033_10033_FIELD_VALUE018_18);
    long fieldvalue019 = PipeReader.readLong(input,MSG_033_10033_FIELD_VALUE019_19);
    long fieldvalue020 = PipeReader.readLong(input,MSG_033_10033_FIELD_VALUE020_20);
    long fieldvalue021 = PipeReader.readLong(input,MSG_033_10033_FIELD_VALUE021_21);
    long fieldvalue022 = PipeReader.readLong(input,MSG_033_10033_FIELD_VALUE022_22);
    long fieldvalue023 = PipeReader.readLong(input,MSG_033_10033_FIELD_VALUE023_23);
    long fieldvalue024 = PipeReader.readLong(input,MSG_033_10033_FIELD_VALUE024_24);
    long fieldvalue025 = PipeReader.readLong(input,MSG_033_10033_FIELD_VALUE025_25);
    long fieldvalue026 = PipeReader.readLong(input,MSG_033_10033_FIELD_VALUE026_26);
    long fieldvalue027 = PipeReader.readLong(input,MSG_033_10033_FIELD_VALUE027_27);
    long fieldvalue028 = PipeReader.readLong(input,MSG_033_10033_FIELD_VALUE028_28);
    long fieldvalue029 = PipeReader.readLong(input,MSG_033_10033_FIELD_VALUE029_29);
    long fieldvalue030 = PipeReader.readLong(input,MSG_033_10033_FIELD_VALUE030_30);
    long fieldvalue031 = PipeReader.readLong(input,MSG_033_10033_FIELD_VALUE031_31);
    long fieldvalue032 = PipeReader.readLong(input,MSG_033_10033_FIELD_VALUE032_32);
    long fieldvalue033 = PipeReader.readLong(input,MSG_033_10033_FIELD_VALUE033_33);
}
 
开发者ID:oci-pronghorn,项目名称:Pronghorn,代码行数:36,代码来源:PhastCodecSchema.java

示例7: consume028

import com.ociweb.pronghorn.pipe.PipeReader; //导入方法依赖的package包/类
public static void consume028(Pipe<PhastCodecSchema> input) {
    long fieldvalue001 = PipeReader.readLong(input,MSG_028_10028_FIELD_VALUE001_1);
    long fieldvalue002 = PipeReader.readLong(input,MSG_028_10028_FIELD_VALUE002_2);
    long fieldvalue003 = PipeReader.readLong(input,MSG_028_10028_FIELD_VALUE003_3);
    long fieldvalue004 = PipeReader.readLong(input,MSG_028_10028_FIELD_VALUE004_4);
    long fieldvalue005 = PipeReader.readLong(input,MSG_028_10028_FIELD_VALUE005_5);
    long fieldvalue006 = PipeReader.readLong(input,MSG_028_10028_FIELD_VALUE006_6);
    long fieldvalue007 = PipeReader.readLong(input,MSG_028_10028_FIELD_VALUE007_7);
    long fieldvalue008 = PipeReader.readLong(input,MSG_028_10028_FIELD_VALUE008_8);
    long fieldvalue009 = PipeReader.readLong(input,MSG_028_10028_FIELD_VALUE009_9);
    long fieldvalue010 = PipeReader.readLong(input,MSG_028_10028_FIELD_VALUE010_10);
    long fieldvalue011 = PipeReader.readLong(input,MSG_028_10028_FIELD_VALUE011_11);
    long fieldvalue012 = PipeReader.readLong(input,MSG_028_10028_FIELD_VALUE012_12);
    long fieldvalue013 = PipeReader.readLong(input,MSG_028_10028_FIELD_VALUE013_13);
    long fieldvalue014 = PipeReader.readLong(input,MSG_028_10028_FIELD_VALUE014_14);
    long fieldvalue015 = PipeReader.readLong(input,MSG_028_10028_FIELD_VALUE015_15);
    long fieldvalue016 = PipeReader.readLong(input,MSG_028_10028_FIELD_VALUE016_16);
    long fieldvalue017 = PipeReader.readLong(input,MSG_028_10028_FIELD_VALUE017_17);
    long fieldvalue018 = PipeReader.readLong(input,MSG_028_10028_FIELD_VALUE018_18);
    long fieldvalue019 = PipeReader.readLong(input,MSG_028_10028_FIELD_VALUE019_19);
    long fieldvalue020 = PipeReader.readLong(input,MSG_028_10028_FIELD_VALUE020_20);
    long fieldvalue021 = PipeReader.readLong(input,MSG_028_10028_FIELD_VALUE021_21);
    long fieldvalue022 = PipeReader.readLong(input,MSG_028_10028_FIELD_VALUE022_22);
    long fieldvalue023 = PipeReader.readLong(input,MSG_028_10028_FIELD_VALUE023_23);
    long fieldvalue024 = PipeReader.readLong(input,MSG_028_10028_FIELD_VALUE024_24);
    long fieldvalue025 = PipeReader.readLong(input,MSG_028_10028_FIELD_VALUE025_25);
    long fieldvalue026 = PipeReader.readLong(input,MSG_028_10028_FIELD_VALUE026_26);
    long fieldvalue027 = PipeReader.readLong(input,MSG_028_10028_FIELD_VALUE027_27);
    long fieldvalue028 = PipeReader.readLong(input,MSG_028_10028_FIELD_VALUE028_28);
}
 
开发者ID:oci-pronghorn,项目名称:Pronghorn,代码行数:31,代码来源:PhastCodecSchema.java

示例8: consume006

import com.ociweb.pronghorn.pipe.PipeReader; //导入方法依赖的package包/类
public static void consume006(Pipe<PhastCodecSchema> input) {
    long fieldvalue001 = PipeReader.readLong(input,MSG_006_10006_FIELD_VALUE001_1);
    long fieldvalue002 = PipeReader.readLong(input,MSG_006_10006_FIELD_VALUE002_2);
    long fieldvalue003 = PipeReader.readLong(input,MSG_006_10006_FIELD_VALUE003_3);
    long fieldvalue004 = PipeReader.readLong(input,MSG_006_10006_FIELD_VALUE004_4);
    long fieldvalue005 = PipeReader.readLong(input,MSG_006_10006_FIELD_VALUE005_5);
    long fieldvalue006 = PipeReader.readLong(input,MSG_006_10006_FIELD_VALUE006_6);
}
 
开发者ID:oci-pronghorn,项目名称:Pronghorn,代码行数:9,代码来源:PhastCodecSchema.java

示例9: processI2CMessage

import com.ociweb.pronghorn.pipe.PipeReader; //导入方法依赖的package包/类
protected void processI2CMessage(Object listener, Pipe<I2CResponseSchema> p) {

			int addr = PipeReader.readInt(p, I2CResponseSchema.MSG_RESPONSE_10_FIELD_ADDRESS_11);
			long time = PipeReader.readLong(p, I2CResponseSchema.MSG_RESPONSE_10_FIELD_TIME_13);
			int register = PipeReader.readInt(p, I2CResponseSchema.MSG_RESPONSE_10_FIELD_REGISTER_14);

			byte[] backing = PipeReader.readBytesBackingArray(p, I2CResponseSchema.MSG_RESPONSE_10_FIELD_BYTEARRAY_12);
			int position = PipeReader.readBytesPosition(p, I2CResponseSchema.MSG_RESPONSE_10_FIELD_BYTEARRAY_12);
			int length = PipeReader.readBytesLength(p, I2CResponseSchema.MSG_RESPONSE_10_FIELD_BYTEARRAY_12);
			int mask = PipeReader.readBytesMask(p, I2CResponseSchema.MSG_RESPONSE_10_FIELD_BYTEARRAY_12);
		    
		    commonI2CEventProcessing((I2CListenerBase) listener, addr, register, time, backing, position, length, mask);

	}
 
开发者ID:oci-pronghorn,项目名称:FogLight,代码行数:15,代码来源:ReactiveIoTListenerStage.java

示例10: consumeBlockChannel

import com.ociweb.pronghorn.pipe.PipeReader; //导入方法依赖的package包/类
public static void consumeBlockChannel(Pipe<TrafficOrderSchema> input) {
    long fieldDurationNanos = PipeReader.readLong(input,MSG_BLOCKCHANNEL_22_FIELD_DURATIONNANOS_13);
}
 
开发者ID:oci-pronghorn,项目名称:GreenLightning,代码行数:4,代码来源:TrafficOrderSchema.java

示例11: consumeBlockChannelUntil

import com.ociweb.pronghorn.pipe.PipeReader; //导入方法依赖的package包/类
public static void consumeBlockChannelUntil(Pipe<TrafficOrderSchema> input) {
    long fieldTimeMS = PipeReader.readLong(input,MSG_BLOCKCHANNELUNTIL_23_FIELD_TIMEMS_14);
}
 
开发者ID:oci-pronghorn,项目名称:GreenLightning,代码行数:4,代码来源:TrafficOrderSchema.java

示例12: consumeValveSerialNumber

import com.ociweb.pronghorn.pipe.PipeReader; //导入方法依赖的package包/类
public static void consumeValveSerialNumber(Pipe<ValveSchema> input) {
    int fieldStation = PipeReader.readInt(input,MSG_VALVESERIALNUMBER_311_FIELD_STATION_1);
    long fieldTimestamp = PipeReader.readLong(input,MSG_VALVESERIALNUMBER_311_FIELD_TIMESTAMP_2);
    int fieldValveSerialNumber = PipeReader.readInt(input,MSG_VALVESERIALNUMBER_311_FIELD_VALVESERIALNUMBER_11);
}
 
开发者ID:oci-pronghorn,项目名称:FogLight-Examples,代码行数:6,代码来源:ValveSchema.java

示例13: consumeLifeCycleCount

import com.ociweb.pronghorn.pipe.PipeReader; //导入方法依赖的package包/类
public static void consumeLifeCycleCount(Pipe<ValveSchema> input) {
    int fieldStation = PipeReader.readInt(input,MSG_LIFECYCLECOUNT_312_FIELD_STATION_1);
    long fieldTimestamp = PipeReader.readLong(input,MSG_LIFECYCLECOUNT_312_FIELD_TIMESTAMP_2);
    int fieldLifeCycleCount = PipeReader.readInt(input,MSG_LIFECYCLECOUNT_312_FIELD_LIFECYCLECOUNT_12);
}
 
开发者ID:oci-pronghorn,项目名称:FogLight-Examples,代码行数:6,代码来源:ValveSchema.java

示例14: consumeSupplyPressure

import com.ociweb.pronghorn.pipe.PipeReader; //导入方法依赖的package包/类
public static void consumeSupplyPressure(Pipe<ValveSchema> input) {
    int fieldStation = PipeReader.readInt(input,MSG_SUPPLYPRESSURE_313_FIELD_STATION_1);
    long fieldTimestamp = PipeReader.readLong(input,MSG_SUPPLYPRESSURE_313_FIELD_TIMESTAMP_2);
    int fieldSupplyPressure = PipeReader.readInt(input,MSG_SUPPLYPRESSURE_313_FIELD_SUPPLYPRESSURE_13);
}
 
开发者ID:oci-pronghorn,项目名称:FogLight-Examples,代码行数:6,代码来源:ValveSchema.java

示例15: consumeDurationOfLast1_4Signal

import com.ociweb.pronghorn.pipe.PipeReader; //导入方法依赖的package包/类
public static void consumeDurationOfLast1_4Signal(Pipe<ValveSchema> input) {
    int fieldStation = PipeReader.readInt(input,MSG_DURATIONOFLAST1_4SIGNAL_314_FIELD_STATION_1);
    long fieldTimestamp = PipeReader.readLong(input,MSG_DURATIONOFLAST1_4SIGNAL_314_FIELD_TIMESTAMP_2);
    int fieldDurationOfLast1_4Signal = PipeReader.readInt(input,MSG_DURATIONOFLAST1_4SIGNAL_314_FIELD_DURATIONOFLAST1_4SIGNAL_14);
}
 
开发者ID:oci-pronghorn,项目名称:FogLight-Examples,代码行数:6,代码来源:ValveSchema.java


注:本文中的com.ociweb.pronghorn.pipe.PipeReader.readLong方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。