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