コード例 #1
0
ファイル: Connection.cs プロジェクト: sitegui/asyncProtocol
 /// <summary>
 /// Answer the call with an exception
 /// </summary>
 /// <param name="data">The exception to be sent</param>
 /// <returns>Return whether the answer was sent (false if the connection is closed)</returns>
 public bool Answer(CallException data)
 {
     return Answer(data.Type, data.Data);
 }
コード例 #2
0
ファイル: Connection.cs プロジェクト: sitegui/asyncProtocol
 /// <summary>
 /// Answer the call with an exception
 /// </summary>
 /// <param name="data">The exception to be sent</param>
 /// <returns>Return whether the answer was sent (false if the connection is closed)</returns>
 public bool Answer(CallException data)
 {
     return(Answer(data.Type, data.Data));
 }