* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / class / Microsoft.Web.Services / Microsoft.Web.Services.Messaging / ISoapTransport.cs
1 //\r
2 // Microsoft.Web.Services.Messaging.ISoapTransport.cs\r
3 //\r
4 // Author: Daniel Kornhauser <dkor@alum.mit.edu>\r
5 //\r
6 // (C) Ximian, Inc. 2003.\r
7 //\r
8 \r
9 using System;\r
10 using System.IO;\r
11 using System.Net;\r
12 using Microsoft.Web.Services;\r
13 \r
14 namespace Microsoft.Web.Services.Messaging {\r
15 \r
16         public interface ISoapTransport {\r
17 \r
18                 ICredentials Credentials { get; set; }\r
19 \r
20                 int IdleTimeout { get; set; }\r
21                 \r
22                 //string Scheme { get; }\r
23                 \r
24                 IAsyncResult BeginSend ( \r
25                         SoapEnvelope envelope,\r
26                         Uri destination,\r
27                         AsyncCallback callback,\r
28                         object state);\r
29                 \r
30                 void EndSend (IAsyncResult result);\r
31 \r
32                 void RegisterPort (Uri to, Type port);\r
33 \r
34                 void RegisterPort (Uri to, SoapReceiver receiver);\r
35 \r
36                 void Send (SoapEnvelope envelop, Uri destination);\r
37                 \r
38                 void UnregisterAll ();\r
39 \r
40                 void UnregisterPort (Uri to);\r
41 \r
42         }\r
43 }\r
44 \r
45 \r
46 \r
47 \r
48 \r
49 \r
50 \r