Esempio n. 1
0
 public IEnumerable <EventResult> Send(IEnumerable <Event> events)
 {
     return(ClientUtils.WaitTask(SendAsync(events)));
 }
Esempio n. 2
0
 public List <ObjectType> GetObjectTypes()
 {
     return(ClientUtils.WaitTask(GetObjectTypesAsync()));
 }
Esempio n. 3
0
 /// <summary>
 /// Implements <see cref="IRestitutionClient.GetDataSets"/>
 /// </summary>
 public IEnumerable <DataSet> GetDataSets()
 {
     return(ClientUtils.WaitTask <IEnumerable <DataSet> >(GetDataSetsAsync()));
 }
Esempio n. 4
0
 public string GenerateResetCode()
 {
     return(ClientUtils.WaitTask(GenerateResetCodeAsync()));
 }
Esempio n. 5
0
 public void Reset()
 {
     ClientUtils.WaitTask(ResetAsync());
 }
Esempio n. 6
0
 public string GenerateDeployCode(string key)
 {
     return(ClientUtils.WaitTask(GenerateDeployCodeAsync(key)));
 }
Esempio n. 7
0
 public void Deploy(string key)
 {
     ClientUtils.WaitTask(DeployAsync(key));
 }
Esempio n. 8
0
 /// <summary>
 /// Implements <see cref="IOwnerClient.BatchUnclaim" />
 /// </summary>
 public IEnumerable <Result> BatchUnclaim(IEnumerable <ClaimOrUnclaim> unclaims)
 {
     return(ClientUtils.WaitTask(BatchUnclaimAsync(unclaims)));
 }
Esempio n. 9
0
 /// <summary>
 /// Implements <see cref="IOwnerClient.Create" />
 /// </summary>
 public void Create(Owner owner)
 {
     ClientUtils.WaitTask(CreateAsync(owner));
 }
Esempio n. 10
0
 /// <summary>
 /// Implements <see cref="IOwnerClient.OwnersExist" />
 /// </summary>
 public IDictionary <string, bool> OwnersExist(IList <string> usernames)
 {
     return(ClientUtils.WaitTask <IDictionary <string, bool> >(OwnersExistAsync(usernames)));
 }
Esempio n. 11
0
 /// <summary>
 /// Implements <see cref="IOwnerClient.Unclaim" />
 /// </summary>
 public void Unclaim(string username, string deviceId, Dictionary <string, object> body)
 {
     ClientUtils.WaitTask(UnclaimAsync(username, deviceId, body));
 }
Esempio n. 12
0
 /// <summary>
 /// Implements <see cref="IOwnerClient.OwnerExists" />
 /// </summary>
 public bool OwnerExists(string username)
 {
     return(ClientUtils.WaitTask <bool>(OwnerExistsAsync(username)));
 }
Esempio n. 13
0
 public IDictionary <string, bool> EventsExist(IList <Guid> eventIds)
 {
     return(ClientUtils.WaitTask <IDictionary <string, bool> >(EventsExistAsync(eventIds)));
 }
Esempio n. 14
0
 public bool EventExists(Guid eventId)
 {
     return(ClientUtils.WaitTask <bool>(EventExistsAsync(eventId)));
 }
Esempio n. 15
0
 public void Create(List <A> value)
 {
     ClientUtils.WaitTask(CreateAsync(value));
 }
Esempio n. 16
0
 /// <summary>
 /// Implements <see cref="IOwnerClient.Delete" />
 /// </summary>
 public void Delete(string username)
 {
     ClientUtils.WaitTask(DeleteAsync(username));
 }
Esempio n. 17
0
 /// <summary>
 /// Implements <see cref="System.ComponentModel.Composition.Primitives.Export" />
 /// </summary>
 public Model Export()
 {
     return(ClientUtils.WaitTask(ExportAsync()));
 }
Esempio n. 18
0
 /// <summary>
 /// Implements <see cref="IOwnerClient.Update" />
 /// </summary>
 public void Update(Owner owner, string username)
 {
     ClientUtils.WaitTask(UpdateAsync(owner, username));
 }
Esempio n. 19
0
 public void ApplyDeployCode(string key, string code)
 {
     ClientUtils.WaitTask(ApplyDeployCodeAsync(key, code));
 }
Esempio n. 20
0
 /// <summary>
 /// Implements <see cref="IOwnerClient.UpdatePassword" />
 /// </summary>
 public void UpdatePassword(string username, string password)
 {
     ClientUtils.WaitTask(UpdatePasswordAsync(username, password));
 }
Esempio n. 21
0
 public void Update(string key, UpdateEntity update)
 {
     ClientUtils.WaitTask(UpdateAsync(key, update));
 }
Esempio n. 22
0
 /// <summary>
 /// Implements <see cref="IOwnerClient.CreateUpdate" />
 /// </summary>
 public IEnumerable <Result> CreateUpdate(IEnumerable <Owner> owners)
 {
     return(ClientUtils.WaitTask <IEnumerable <Result> >(CreateUpdateAsync(owners)));
 }
Esempio n. 23
0
 public void ApplyResetCode(string code)
 {
     ClientUtils.WaitTask(ApplyResetCodeAsync(code));
 }
Esempio n. 24
0
 public List <Timeseries> GetTimeseries()
 {
     return(ClientUtils.WaitTask(GetTimeseriesAsync()));
 }
Esempio n. 25
0
 public List <EventType> GetEventTypes()
 {
     return(ClientUtils.WaitTask(GetEventTypesAsync()));
 }
Esempio n. 26
0
 public void Delete(string key)
 {
     ClientUtils.WaitTask(DeleteAsync(key));
 }
Esempio n. 27
0
 public List <OwnerAttribute> GetOwnerAttributes()
 {
     return(ClientUtils.WaitTask(GetOwnerAttributesAsync()));
 }
Esempio n. 28
0
 public void RemoveRelation(string key, string entityKey)
 {
     ClientUtils.WaitTask(RemoveRelationAsync(key, entityKey));
 }
Esempio n. 29
0
 /// <summary>
 /// Implements <see cref="IRestitutionClient.Search"/>
 /// </summary>
 public ResultSet Search(string query)
 {
     return(ClientUtils.WaitTask <ResultSet>(SearchAsync(query)));
 }
Esempio n. 30
0
 /// <summary>
 /// Implements <see cref="IObjectClient.ObjectsExist" />
 /// </summary>
 public IDictionary <string, bool> ObjectsExist(IList <string> deviceIds)
 {
     return(ClientUtils.WaitTask <IDictionary <string, bool> >(ObjectsExistAsync(deviceIds)));
 }