コード例 #1
0
ファイル: SirenaClientPool.cs プロジェクト: tefra/SirenaSDK
 /// <summary>
 /// Asynchronously queues a ScheduleRequest object in the SirenaClientPool instance.
 /// </summary>
 /// <param name="keyInfoRequest">The ScheduleRequest request to send.</param>
 /// <returns>Returns the task object representing the asynchronous operation.</returns>
 public async Task <ScheduleResponse> QueueRequestAsync(ScheduleRequest scheduleRequest)
 {
     return(await QueueRequestAsync <ScheduleRequest, ScheduleResponse>(scheduleRequest));
 }
コード例 #2
0
ファイル: SirenaClient.cs プロジェクト: tefra/SirenaSDK
 /// <summary>
 /// Sends a ScheduleRequest object to the Sirena server.
 /// </summary>
 /// <param name="scheduleRequest">The ScheduleRequest object to send.</param>
 /// <returns>Returns a ScheduleResponse object contains the response.</returns>
 public ScheduleResponse SendRequest(ScheduleRequest scheduleRequest)
 {
     return(SendRequest <ScheduleRequest, ScheduleResponse>(scheduleRequest));
 }