Exemple #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="header"></param>
 /// <param name="body"></param>
 public void TransferV341CreateSubscription(V131SessionHeader header, V341CreateSubscription body)
 {
     if (TryGetValidConnection(header.SessionId, out var connection))
     {
         connection.DispatchAsyncRecvCreateSubscription(
             new PackageCreateSubscription(
                 connection.ClientId, new PackageHeader(header), new PackageSubscriptionQuery(body), body.ExpiryTime));
     }
 }
Exemple #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="request"></param>
 public PackageQueryBase(V341CreateSubscription request)
 {
     DataType        = request.QueryDef.DataType;
     ItemKind        = V341Helpers.ToItemKind(request.QueryDef.ItemKind);
     ItemNames       = request.QueryDef.ItemNames;
     QueryExpr       = request.QueryDef.QueryExpr;
     AppScopes       = request.QueryDef.AppScopes;
     MinimumUSN      = request.QueryDef.MinimumUSN;
     ExcludeDeleted  = request.QueryDef.ExcludeDeleted;
     AsAtTime        = request.QueryDef.AsAtTime;
     ExcludeExisting = request.QueryDef.ExcludeExisting;
     ExcludeDataBody = request.QueryDef.ExcludeDataBody;
 }
Exemple #3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="query"></param>
 public PackageSubscriptionQuery(V341CreateSubscription query)
     : base(query)
 {
     SubscriptionId = query.SubscriptionId;
 }