コード例 #1
0
ファイル: Connection.cs プロジェクト: sitegui/asyncProtocol
 public PendingCall(uint callId, Registry.RegisteredCall call, ReturnDelegate onReturn, ExceptionDelegate onException, Timer interval)
 {
     CallId = callId;
     Call = call;
     OnReturn = onReturn;
     OnException = onException;
     Interval = interval;
 }
コード例 #2
0
ファイル: Connection.cs プロジェクト: sitegui/asyncProtocol
 /// <summary>
 /// Create a new args bag
 /// </summary>
 /// <param name="type">The type of this call</param>
 /// <param name="data">The inflated data</param>
 /// <param name="conn">The connection that created this bag</param>
 /// <param name="call">The call definition</param>
 /// <param name="callId">The call sequence id</param>
 internal CallEventArgs(Registry.RegisteredCall call, object data, Connection conn, uint callId)
 {
     Data = data;
     Conn = conn;
     Call = call;
     CallId = callId;
 }