コード例 #1
0
 public Listener Create()
 {
     var listener = new Listener()
     {
     };
     return listener;
 }
コード例 #2
0
 public void StopListener(Listener listener)
 {
     try
     {
         listener.Stop();
     }
     catch (Exception ex)
     {
         this.Logger.WriteException(ex);
         throw;
     }
 }
コード例 #3
0
 public string SendPayload(Listener listener, Guid connectionIdentifier, string request)
 {
     try
     {
         var response = listener.SendPayload(connectionIdentifier, request);
         return response;
     }
     catch (Exception ex)
     {
         this.Logger.WriteException(ex);
         throw;
     }
 }