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


Java PubSubMiddleware类代码示例

本文整理汇总了Java中iotsuite.pubsubmiddleware.PubSubMiddleware的典型用法代码示例。如果您正苦于以下问题:Java PubSubMiddleware类的具体用法?Java PubSubMiddleware怎么用?Java PubSubMiddleware使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


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

示例1: LogicEndUserInteraction

import iotsuite.pubsubmiddleware.PubSubMiddleware; //导入依赖的package包/类
public LogicEndUserInteraction(PubSubMiddleware myPubSubMiddleware,
		final Device deviceInfo, final Object ui, Context myContext) {
	super(myPubSubMiddleware, deviceInfo);

	deviceType = deviceInfo.getType();

	pubSubSensingFramework = PubSubsSensingFramework.getInstance();

	this.ui = (Activity) ui;
	this.ui.runOnUiThread(new Runnable() {
		@Override
		public void run() {
			objEndUserInteraction = EndUserInteractionFactory
					.getEndUserInteractionDriver(deviceInfo.getType(),
							(Activity) ui, obj);

			objEndUserInteraction.OffGUI(handlerCommand);

			objEndUserInteraction.SetTempGUI(handlerCommand);

			objEndUserInteraction.profileGUI(handlerCommand);

		}
	});

}
 
开发者ID:chauhansaurabhb,项目名称:EndUserInteractioion_RequestResponse_Command,代码行数:27,代码来源:LogicEndUserInteraction.java

示例2: LogicHeater

import iotsuite.pubsubmiddleware.PubSubMiddleware; //导入依赖的package包/类
public LogicHeater(PubSubMiddleware myPubSubMiddleware, Device deviceInfo,
		final Object ui, Context myContext) {
	super(myPubSubMiddleware, deviceInfo);

}
 
开发者ID:chauhansaurabhb,项目名称:EndUserInteractioion_RequestResponse_Command,代码行数:6,代码来源:LogicHeater.java

示例3: LogicTemperatureController

import iotsuite.pubsubmiddleware.PubSubMiddleware; //导入依赖的package包/类
public LogicTemperatureController(PubSubMiddleware pubSubM,
		Device deviceInfo, Object ui, Context myContext) {
	super(pubSubM, deviceInfo);
}
 
开发者ID:chauhansaurabhb,项目名称:EndUserInteractioion_RequestResponse_Command,代码行数:5,代码来源:LogicTemperatureController.java

示例4: LogicEndUserInteraction

import iotsuite.pubsubmiddleware.PubSubMiddleware; //导入依赖的package包/类
public LogicEndUserInteraction(PubSubMiddleware myPubSubMiddleware,
		final Device deviceInfo, final Object ui) {
	super(myPubSubMiddleware, deviceInfo);
	deviceType = deviceInfo.getType();

	if (deviceType.equals(GlobalVariable.deviceJAVASEType)) {

		objEndUserInteraction = EndUserInteractionFactory
				.getEndUserInteractionDriver(deviceInfo.getType(),
						(Activity) ui, obj);

		objEndUserInteraction.OffGUI(handlerCommand);

		objEndUserInteraction.SetTempGUI(handlerCommand);

		objEndUserInteraction.profileGUI(handlerCommand);

	}

}
 
开发者ID:chauhansaurabhb,项目名称:EndUserInteractioion_RequestResponse_Command,代码行数:21,代码来源:LogicEndUserInteraction.java

示例5: LogicProximity

import iotsuite.pubsubmiddleware.PubSubMiddleware; //导入依赖的package包/类
public LogicProximity(PubSubMiddleware pubSubM, Device deviceInfo,
		Object ui, Context myContext) {
	super(pubSubM, deviceInfo);
}
 
开发者ID:chauhansaurabhb,项目名称:EndUserInteractioion_RequestResponse_Command,代码行数:5,代码来源:LogicProximity.java

示例6: LogicDataVisualizer

import iotsuite.pubsubmiddleware.PubSubMiddleware; //导入依赖的package包/类
public LogicDataVisualizer(PubSubMiddleware pubSubM, Device deviceInfo,
		Object ui, Context myContext) {
	super(pubSubM, deviceInfo);

}
 
开发者ID:pankeshlinux,项目名称:IoTSuite,代码行数:6,代码来源:LogicDataVisualizer.java

示例7: LogicProximity

import iotsuite.pubsubmiddleware.PubSubMiddleware; //导入依赖的package包/类
public LogicProximity(PubSubMiddleware pubSubM, Device deviceInfo,
		Object ui, Context myContext) {
	super(pubSubM, deviceInfo);

}
 
开发者ID:pankeshlinux,项目名称:IoTSuite,代码行数:6,代码来源:LogicProximity.java

示例8: LogicEndUserApp

import iotsuite.pubsubmiddleware.PubSubMiddleware; //导入依赖的package包/类
public LogicEndUserApp(PubSubMiddleware myPubSubMiddleware, final Device deviceInfo, final Object ui, Context myContext) {
		super(myPubSubMiddleware, deviceInfo);
		
		 deviceType = deviceInfo.getType();
		 
		 
   pubSubSensingFramework = PubSubsSensingFramework.getInstance();
   //Intent intent = new Intent(myContext, AndroidEndUserApp.class);
   //myContext.startActivity(intent);
		 
	
		
		this.ui = (Activity) ui;
		this.ui.runOnUiThread(new Runnable() {
			public void run() {
			objEndUserApp = EndUserAppFactory.getEndUserAppDriver(deviceInfo.getType(),(Activity) ui,obj);
			 
			  
 
    
     
	}
	});	

}
 
开发者ID:pankeshlinux,项目名称:IoTSuite,代码行数:26,代码来源:LogicEndUserApp.java

示例9: LogicFireController

import iotsuite.pubsubmiddleware.PubSubMiddleware; //导入依赖的package包/类
public LogicFireController(PubSubMiddleware pubSubM, Device deviceInfo,
		Object ui, Context myContext) {
	super(pubSubM, deviceInfo);

}
 
开发者ID:pankeshlinux,项目名称:IoTSuite,代码行数:6,代码来源:LogicFireController.java

示例10: LogicFireState

import iotsuite.pubsubmiddleware.PubSubMiddleware; //导入依赖的package包/类
public LogicFireState(PubSubMiddleware pubSubM, Device deviceInfo,
		Object ui, Context myContext) {
	super(pubSubM, deviceInfo);

}
 
开发者ID:pankeshlinux,项目名称:IoTSuite,代码行数:6,代码来源:LogicFireState.java

示例11: LogicTempController

import iotsuite.pubsubmiddleware.PubSubMiddleware; //导入依赖的package包/类
public LogicTempController(PubSubMiddleware pubSubM, Device deviceInfo,
		Object ui, Context myContext) {
	super(pubSubM, deviceInfo);

}
 
开发者ID:pankeshlinux,项目名称:IoTSuite,代码行数:6,代码来源:LogicTempController.java

示例12: EndUserInteraction

import iotsuite.pubsubmiddleware.PubSubMiddleware; //导入依赖的package包/类
public EndUserInteraction(PubSubMiddleware pubSubM, Device deviceInfo) {

		this.myPubSubMiddleware = pubSubM;
		this.myDeviceInfo = deviceInfo;
		postInitialize();

	}
 
开发者ID:chauhansaurabhb,项目名称:EndUserInteractioion_RequestResponse_Command,代码行数:8,代码来源:EndUserInteraction.java

示例13: EndUserApp

import iotsuite.pubsubmiddleware.PubSubMiddleware; //导入依赖的package包/类
public EndUserApp(PubSubMiddleware pubSubM, Device deviceInfo) {  

   this.myPubSubMiddleware = pubSubM;
   this.myDeviceInfo = deviceInfo;
  postInitialize();
  
  }
 
开发者ID:pankeshlinux,项目名称:IoTSuite,代码行数:8,代码来源:EndUserApp.java

示例14: LogicRoomController

import iotsuite.pubsubmiddleware.PubSubMiddleware; //导入依赖的package包/类
public LogicRoomController(PubSubMiddleware pubSubM, Device deviceInfo, Object ui,Context myContext) {
 super(pubSubM, deviceInfo);
 
}
 
开发者ID:pankeshlinux,项目名称:IoTSuite,代码行数:5,代码来源:LogicRoomController.java


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