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