SSLSocket SSLSocket Constructors

Definition

Overloads

SSLSocket()

Only to be used by subclasses.

SSLSocket(InetAddress, Int32) SSLSocket(InetAddress, Int32)

Only to be used by subclasses.

SSLSocket(IntPtr, JniHandleOwnership) SSLSocket(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

SSLSocket(String, Int32) SSLSocket(String, Int32)

Only to be used by subclasses.

SSLSocket(InetAddress, Int32, InetAddress, Int32) SSLSocket(InetAddress, Int32, InetAddress, Int32)

Only to be used by subclasses.

SSLSocket(String, Int32, InetAddress, Int32) SSLSocket(String, Int32, InetAddress, Int32)

Only to be used by subclasses.

SSLSocket()

Only to be used by subclasses.

[Android.Runtime.Register(".ctor", "()V", "")]
protected SSLSocket ();

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

SSLSocket(InetAddress, Int32) SSLSocket(InetAddress, Int32)

Only to be used by subclasses.

[Android.Runtime.Register(".ctor", "(Ljava/net/InetAddress;I)V", "")]
protected SSLSocket (Java.Net.InetAddress address, int port);
new Javax.Net.Ssl.SSLSocket : Java.Net.InetAddress * int -> Javax.Net.Ssl.SSLSocket

Parameters

port
Int32 Int32

Exceptions

if creating the socket fails.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

SSLSocket(IntPtr, JniHandleOwnership) SSLSocket(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected SSLSocket (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Javax.Net.Ssl.SSLSocket : nativeint * Android.Runtime.JniHandleOwnership -> Javax.Net.Ssl.SSLSocket

Parameters

javaReference
IntPtr IntPtr

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

SSLSocket(String, Int32) SSLSocket(String, Int32)

Only to be used by subclasses.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "")]
protected SSLSocket (string host, int port);
new Javax.Net.Ssl.SSLSocket : string * int -> Javax.Net.Ssl.SSLSocket

Parameters

host
String String
port
Int32 Int32

Exceptions

if creating the socket fails.

if the specified host is not known.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

SSLSocket(InetAddress, Int32, InetAddress, Int32) SSLSocket(InetAddress, Int32, InetAddress, Int32)

Only to be used by subclasses.

[Android.Runtime.Register(".ctor", "(Ljava/net/InetAddress;ILjava/net/InetAddress;I)V", "")]
protected SSLSocket (Java.Net.InetAddress address, int port, Java.Net.InetAddress clientAddress, int clientPort);
new Javax.Net.Ssl.SSLSocket : Java.Net.InetAddress * int * Java.Net.InetAddress * int -> Javax.Net.Ssl.SSLSocket

Parameters

port
Int32 Int32
clientAddress
InetAddress InetAddress
clientPort
Int32 Int32

Exceptions

if creating the socket fails.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

SSLSocket(String, Int32, InetAddress, Int32) SSLSocket(String, Int32, InetAddress, Int32)

Only to be used by subclasses.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;ILjava/net/InetAddress;I)V", "")]
protected SSLSocket (string host, int port, Java.Net.InetAddress clientAddress, int clientPort);
new Javax.Net.Ssl.SSLSocket : string * int * Java.Net.InetAddress * int -> Javax.Net.Ssl.SSLSocket

Parameters

host
String String
port
Int32 Int32
clientAddress
InetAddress InetAddress
clientPort
Int32 Int32

Exceptions

if creating the socket fails.

if the specified host is not known.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to