當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。