예제 #1
0
 public void OnMessageStatus(IQDevice paramIQDevice, IQApp paramIQApp, IQMessageStatus paramIQMessageStatus)
 {
     Debug.Assert(_completionSource != null && _objectPool != null);
     _completionSource.SetResult(new IQSendMessageResult(paramIQDevice, paramIQApp, paramIQMessageStatus));
     _completionSource = null;
     _objectPool.Free(this);
 }
예제 #2
0
 public IQSendMessageResult(IQDevice device, IQApp app, IQMessageStatus messageStatus)
 {
     Device        = device;
     App           = app;
     MessageStatus = messageStatus;
 }