use of org.thingsboard.server.extensions.api.plugins.msg.ToDeviceRpcRequestPluginMsg in project thingsboard by thingsboard.
the class SharedPluginProcessingContext method sendRpcRequest.
public void sendRpcRequest(ToDeviceRpcRequest msg) {
log.trace("[{}] Forwarding msg {} to device actor!", pluginId, msg);
ToDeviceRpcRequestPluginMsg rpcMsg = new ToDeviceRpcRequestPluginMsg(pluginId, tenantId, msg);
forward(msg.getDeviceId(), rpcMsg, rpcService::tell);
}
Aggregations