TB-41: Implementation
This commit is contained in:
		
							parent
							
								
									9305cbae19
								
							
						
					
					
						commit
						f5c7e53256
					
				@ -128,7 +128,7 @@ public class GatewaySessionCtx {
 | 
			
		||||
        if (json.isJsonObject()) {
 | 
			
		||||
            JsonObject jsonObj = json.getAsJsonObject();
 | 
			
		||||
            String deviceName = checkDeviceConnected(jsonObj.get("device").getAsString());
 | 
			
		||||
            Integer requestId = jsonObj.get("requestId").getAsInt();
 | 
			
		||||
            Integer requestId = jsonObj.get("id").getAsInt();
 | 
			
		||||
            String data = jsonObj.get("data").getAsString();
 | 
			
		||||
            GatewayDeviceSessionCtx deviceSessionCtx = devices.get(deviceName);
 | 
			
		||||
            processor.process(new BasicToDeviceActorSessionMsg(deviceSessionCtx.getDevice(),
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user