public OicResourceDiscoverClient(OicClient client, OicConfiguration configuration, ILogger <OicResourceDiscoverClient> logger = null)
        {
            _client        = client ?? throw new ArgumentNullException(nameof(client));
            _configuration = configuration ?? OicConfiguration.Default;
            _logger        = logger;

            _client.AddHandler(this);
        }
 public OicRemoteResourceRepository(OicRemoteDevice device, OicClient client)
 {
     Device  = device ?? throw new ArgumentNullException(nameof(device));
     _client = client ?? throw new ArgumentNullException(nameof(client));
 }
 public OicResourceDiscoverClient(OicClient client, ILogger <OicResourceDiscoverClient> logger = null)
     : this(client, client.Configuration, logger)
 {
 }
Example #4
0
 internal OicRequestHandle(OicClient client, int requestId)
 {
     _client   = client;
     RequestId = requestId;
 }