File: IWSTrustFeb2005AsyncContract.cs

package info (click to toggle)
mono 4.6.2.7%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 778,148 kB
  • ctags: 914,052
  • sloc: cs: 5,779,509; xml: 2,773,713; ansic: 432,645; sh: 14,749; makefile: 12,361; perl: 2,488; python: 1,434; cpp: 849; asm: 531; sql: 95; sed: 16; php: 1
file content (154 lines) | stat: -rw-r--r-- 9,222 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation.  All rights reserved.
//------------------------------------------------------------

namespace System.ServiceModel.Security
{
    using System;
    using System.IdentityModel.Protocols.WSTrust;
    using System.ServiceModel;
    using System.ServiceModel.Channels;

    /// <summary>
    /// Defines the ServiceContract Asynchronous interface for a Trust Feb 2005 protocol.
    /// </summary>
    [ServiceContract( Name = WSTrustServiceContractConstants.Contracts.IWSTrustFeb2005Async, Namespace = WSTrustServiceContractConstants.Namespace )]
    public interface IWSTrustFeb2005AsyncContract
    {
        /// <summary>
        /// Definiton of Async RST/Cancel method for WS-Trust Feb 2005
        /// </summary>
        /// <param name="request">Request Message containing the RST.</param>
        /// <param name="callback">AsyncCallback context.</param>
        /// <param name="state">Asyn state.</param>
        /// <returns>IAsyncResult result instance.</returns>
        [OperationContract( Name = WSTrustServiceContractConstants.Operations.TrustFeb2005CancelAsync, AsyncPattern = true, Action = WSTrustFeb2005Constants.Actions.Cancel, ReplyAction = WSTrustFeb2005Constants.Actions.CancelResponse )]
        IAsyncResult BeginTrustFeb2005Cancel( Message request, AsyncCallback callback, object state );

        /// <summary>
        /// Completes the Async RST/Cancel method.
        /// </summary>
        /// <param name="ar">The IAsyncResult result instance returned by the BeginCancel call.</param>
        /// <returns>Message object that contains the RSTR.</returns>
        Message EndTrustFeb2005Cancel( IAsyncResult ar );

        /// <summary>
        /// Definiton of Async RST/Issue method for WS-Trust Feb 2005
        /// </summary>
        /// <param name="request">Request Message containing the RST.</param>
        /// <param name="callback">AsyncCallback context.</param>
        /// <param name="state">Asyn state.</param>
        /// <returns>IAsyncResult result instance.</returns>
        [OperationContract( Name = WSTrustServiceContractConstants.Operations.TrustFeb2005IssueAsync, AsyncPattern = true, Action = WSTrustFeb2005Constants.Actions.Issue, ReplyAction = WSTrustFeb2005Constants.Actions.IssueResponse )]
        IAsyncResult BeginTrustFeb2005Issue( Message request, AsyncCallback callback, object state );

        /// <summary>
        /// Completes the Async RST/Issue method.
        /// </summary>
        /// <param name="ar">The IAsyncResult result instance returned by the BeginIssue call.</param>
        /// <returns>Message object that contains the RSTR.</returns>
        Message EndTrustFeb2005Issue( IAsyncResult ar );

        /// <summary>
        /// Definiton of Async RST/Renew method for WS-Trust Feb 2005
        /// </summary>
        /// <param name="request">Request Message containing the RST.</param>
        /// <param name="callback">AsyncCallback context.</param>
        /// <param name="state">Asyn state.</param>
        /// <returns>IAsyncResult result instance.</returns>
        [OperationContract( Name = WSTrustServiceContractConstants.Operations.TrustFeb2005RenewAsync, AsyncPattern = true, Action = WSTrustFeb2005Constants.Actions.Renew, ReplyAction = WSTrustFeb2005Constants.Actions.RenewResponse )]
        IAsyncResult BeginTrustFeb2005Renew( Message request, AsyncCallback callback, object state );

        /// <summary>
        /// Completes the Async RST/Renew method.
        /// </summary>
        /// <param name="ar">The IAsyncResult result instance returned by the BeginRenew call.</param>
        /// <returns>Message object that contains the RSTR.</returns>
        Message EndTrustFeb2005Renew( IAsyncResult ar );

        /// <summary>
        /// Definiton of Async RST/Validate method for WS-Trust Feb 2005
        /// </summary>
        /// <param name="request">Request Message containing the RST.</param>
        /// <param name="callback">AsyncCallback context.</param>
        /// <param name="state">Asyn state.</param>
        /// <returns>IAsyncResult result instance.</returns>
        [OperationContract( Name = WSTrustServiceContractConstants.Operations.TrustFeb2005ValidateAsync, AsyncPattern = true, Action = WSTrustFeb2005Constants.Actions.Validate, ReplyAction = WSTrustFeb2005Constants.Actions.ValidateResponse )]
        IAsyncResult BeginTrustFeb2005Validate( Message request, AsyncCallback callback, object state );

        /// <summary>
        /// Completes the Async RST/Validate method.
        /// </summary>
        /// <param name="ar">The IAsyncResult result instance returned by the BeginValidate call.</param>
        /// <returns>Message object that contains the RSTR.</returns>
        Message EndTrustFeb2005Validate( IAsyncResult ar );

        /// <summary>
        /// Definiton of Async RSTR/Cancel method for WS-Trust Feb 2005
        /// </summary>
        /// <param name="request">Request Message containing the RST.</param>
        /// <param name="callback">AsyncCallback context.</param>
        /// <param name="state">Asyn state.</param>
        /// <returns>IAsyncResult result instance.</returns>
        [OperationContract( Name = WSTrustServiceContractConstants.Operations.TrustFeb2005CancelResponseAsync, AsyncPattern = true, Action = WSTrustFeb2005Constants.Actions.CancelResponse, ReplyAction = WSTrustFeb2005Constants.Actions.CancelResponse )]
        IAsyncResult BeginTrustFeb2005CancelResponse( Message request, AsyncCallback callback, object state );

        /// <summary>
        /// Completes the Async RSTR/Cancel method.
        /// </summary>
        /// <param name="ar">The IAsyncResult result instance returned by the BeginCancelResponse call.</param>
        /// <returns>Message object that contains the RSTR.</returns>
        Message EndTrustFeb2005CancelResponse( IAsyncResult ar );

        /// <summary>
        /// Definiton of Async RSTR/Issue method for WS-Trust Feb 2005
        /// </summary>
        /// <param name="request">Request Message containing the RST.</param>
        /// <param name="callback">AsyncCallback context.</param>
        /// <param name="state">Asyn state.</param>
        /// <returns>IAsyncResult result instance.</returns>
        [OperationContract( Name = WSTrustServiceContractConstants.Operations.TrustFeb2005IssueResponseAsync, AsyncPattern = true, Action = WSTrustFeb2005Constants.Actions.IssueResponse, ReplyAction = WSTrustFeb2005Constants.Actions.IssueResponse )]
        IAsyncResult BeginTrustFeb2005IssueResponse( Message request, AsyncCallback callback, object state );

        /// <summary>
        /// Completes the Async RSTR/Issue method.
        /// </summary>
        /// <param name="ar">The IAsyncResult result instance returned by the BeginIssueResponse call.</param>
        /// <returns>Message object that contains the RSTR.</returns>
        Message EndTrustFeb2005IssueResponse( IAsyncResult ar );

        /// <summary>
        /// Definiton of Async RSTR/Renew method for WS-Trust Feb 2005
        /// </summary>
        /// <param name="request">Request Message containing the RST.</param>
        /// <param name="callback">AsyncCallback context.</param>
        /// <param name="state">Asyn state.</param>
        /// <returns>IAsyncResult result instance.</returns>
        [OperationContract( Name = WSTrustServiceContractConstants.Operations.TrustFeb2005RenewResponseAsync, AsyncPattern = true, Action = WSTrustFeb2005Constants.Actions.RenewResponse, ReplyAction = WSTrustFeb2005Constants.Actions.RenewResponse )]
        IAsyncResult BeginTrustFeb2005RenewResponse( Message request, AsyncCallback callback, object state );

        /// <summary>
        /// Completes the Async RSTR/Renew method.
        /// </summary>
        /// <param name="ar">The IAsyncResult result instance returned by the BeginRenewResponse call.</param>
        /// <returns>Message object that contains the RSTR.</returns>
        Message EndTrustFeb2005RenewResponse( IAsyncResult ar );

        /// <summary>
        /// Definiton of Async RSTR/Validate method for WS-Trust Feb 2005
        /// </summary>
        /// <param name="request">Request Message containing the RST.</param>
        /// <param name="callback">AsyncCallback context.</param>
        /// <param name="state">Asyn state.</param>
        /// <returns>IAsyncResult result instance.</returns>
        [OperationContract( Name = WSTrustServiceContractConstants.Operations.TrustFeb2005ValidateResponseAsync, AsyncPattern = true, Action = WSTrustFeb2005Constants.Actions.ValidateResponse, ReplyAction = WSTrustFeb2005Constants.Actions.ValidateResponse )]
        IAsyncResult BeginTrustFeb2005ValidateResponse( Message request, AsyncCallback callback, object state );

        /// <summary>
        /// Completes the Async RSTR/Validate method.
        /// </summary>
        /// <param name="ar">The IAsyncResult result instance returned by the BeginValidateResponse call.</param>
        /// <returns>Message object that contains the RSTR.</returns>
        Message EndTrustFeb2005ValidateResponse( IAsyncResult ar );
    }
}