-
Notifications
You must be signed in to change notification settings - Fork 0
/
ILayeredSocketFactory.xml
118 lines (118 loc) · 8.1 KB
/
ILayeredSocketFactory.xml
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
<Type Name="ILayeredSocketFactory" FullName="Org.Apache.Http.Conn.Schemes.ILayeredSocketFactory">
<TypeSignature Language="C#" Value="public interface ILayeredSocketFactory : IDisposable, Java.Interop.IJavaPeerable, Org.Apache.Http.Conn.Schemes.ISocketFactory" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract beforefieldinit ILayeredSocketFactory implements class Android.Runtime.IJavaObject, class Java.Interop.IJavaPeerable, class Org.Apache.Http.Conn.Schemes.ISocketFactory, class System.IDisposable" />
<TypeSignature Language="DocId" Value="T:Org.Apache.Http.Conn.Schemes.ILayeredSocketFactory" />
<TypeSignature Language="F#" Value="type ILayeredSocketFactory = interface
 interface ISocketFactory
 interface IJavaObject
 interface IDisposable
 interface IJavaPeerable" />
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces>
<Interface>
<InterfaceName>Android.Runtime.IJavaObject</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.Interop.IJavaPeerable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Org.Apache.Http.Conn.Schemes.ISocketFactory</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("org/apache/http/conn/scheme/LayeredSocketFactory", "", "Org.Apache.Http.Conn.Schemes.ILayeredSocketFactoryInvoker")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("org/apache/http/conn/scheme/LayeredSocketFactory", "", "Org.Apache.Http.Conn.Schemes.ILayeredSocketFactoryInvoker")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.ObsoletedOSPlatform("android22.0", "This class is obsoleted in this android platform")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.ObsoletedOSPlatform("android22.0", "This class is obsoleted in this android platform")>]</AttributeName>
</Attribute>
</Attributes>
<Docs since="1">
<summary>A <c>SocketFactory SocketFactory</c> for layered sockets (SSL/TLS).</summary>
<remarks>
<para>A <c>SocketFactory SocketFactory</c> for layered sockets (SSL/TLS).
See there for things to consider when implementing a socket factory.</para>
<para>Added in 4.0.</para>
<para>This member is deprecated. Please use <c>java.net.URL#openConnection</c> instead.
Please visit <see href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</see>
for further details.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/org/apache/http/conn/scheme/LayeredSocketFactory" title="Reference documentation">Java documentation for <code>org.apache.http.conn.scheme.LayeredSocketFactory</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
<Members>
<Member MemberName="CreateSocket">
<MemberSignature Language="C#" Value="public Java.Net.Socket? CreateSocket (Java.Net.Socket? socket, string? host, int port, bool autoClose);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Java.Net.Socket CreateSocket(class Java.Net.Socket socket, string host, int32 port, bool autoClose) cil managed" />
<MemberSignature Language="DocId" Value="M:Org.Apache.Http.Conn.Schemes.ILayeredSocketFactory.CreateSocket(Java.Net.Socket,System.String,System.Int32,System.Boolean)" />
<MemberSignature Language="F#" Value="abstract member CreateSocket : Java.Net.Socket * string * int * bool -> Java.Net.Socket" Usage="iLayeredSocketFactory.CreateSocket (socket, host, port, autoClose)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("createSocket", "(Ljava/net/Socket;Ljava/lang/String;IZ)Ljava/net/Socket;", "GetCreateSocket_Ljava_net_Socket_Ljava_lang_String_IZHandler:Org.Apache.Http.Conn.Schemes.ILayeredSocketFactoryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("createSocket", "(Ljava/net/Socket;Ljava/lang/String;IZ)Ljava/net/Socket;", "GetCreateSocket_Ljava_net_Socket_Ljava_lang_String_IZHandler:Org.Apache.Http.Conn.Schemes.ILayeredSocketFactoryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.ObsoletedOSPlatform("android22.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.ObsoletedOSPlatform("android22.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Net.Socket</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="socket" Type="Java.Net.Socket" />
<Parameter Name="host" Type="System.String" />
<Parameter Name="port" Type="System.Int32" />
<Parameter Name="autoClose" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="socket">the existing socket</param>
<param name="host">the host name/IP</param>
<param name="port">the port on the host</param>
<param name="autoClose">a flag for closing the underling socket when the created
socket is closed</param>
<summary>Returns a socket connected to the given host that is layered over an
existing socket.</summary>
<returns>Socket a new socket</returns>
<remarks>
<para>Returns a socket connected to the given host that is layered over an
existing socket. Used primarily for creating secure sockets through
proxies.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/org/apache/http/conn/scheme/LayeredSocketFactory#createSocket(java.net.Socket,%20java.lang.String,%20int,%20boolean)" title="Reference documentation">Java documentation for <code>org.apache.http.conn.scheme.LayeredSocketFactory.createSocket(java.net.Socket, java.lang.String, int, boolean)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
<exception cref="T:Java.IO.IOException">if an I/O error occurs while creating the socket</exception>
<exception cref="T:Java.Net.UnknownHostException">if the IP address of the host cannot be
determined
</exception>
</Docs>
</Member>
</Members>
</Type>