private DeviceContext deviceContext;
- // /**
- // * Collection of all rpc contexts which are available in rpc manager
- // */
- // final List<RpcContext> rpcContexts = new ArrayList<>();
private final ProviderContext providerContext;
this.providerContext = providerContext;
}
- // /**
- // * @return number of rpc contexts
- // */
- // public int getNumberOfRpcContexts() {
- // return rpcContexts.size();
- // }
-
/**
* (non-Javadoc)
*
@Override
public void deviceConnected(final DeviceContext deviceContext) {
final RpcContext rpcContext = new RpcContextImpl(providerContext);
- rpcContext.setDeviceContext(deviceContext);
MdSalRegistratorUtils.registerServices(rpcContext);
}
}