Table of Contents

Class SocketFactory

Namespace
Org.Apache.Http.Conn.Scheme
Assembly
MASES.Netdroid.dll
[Obsolete("Deprecated in JVM")]
public class SocketFactory : JVMBridgeBase<SocketFactory>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, ISocketFactory
Inheritance
SocketFactory
Implements
Derived
Extension Methods

Constructors

SocketFactory(IJVMBridgeBaseInitializer)

Initializer used internally by JCOBridge. Do not use directly.

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public SocketFactory(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

ConnectSocket(Socket, String, int, InetAddress, int, HttpParams)

[Obsolete("Deprecated in JVM")]
public Socket ConnectSocket(Socket arg0, String arg1, int arg2, InetAddress arg3, int arg4, HttpParams arg5)

Parameters

arg0 Socket

Socket

arg1 String

String

arg2 int

int

arg3 InetAddress

InetAddress

arg4 int

int

arg5 HttpParams

HttpParams

Returns

Socket

Socket

Exceptions

ConnectTimeoutException
IOException
UnknownHostException

CreateSocket()

[Obsolete("Deprecated in JVM")]
public Socket CreateSocket()

Returns

Socket

Socket

Exceptions

IOException

IsSecure(Socket)

[Obsolete("Deprecated in JVM")]
public bool IsSecure(Socket arg0)

Parameters

arg0 Socket

Socket

Returns

bool

bool

Exceptions

IllegalArgumentException