Table of Contents

Class SocketFactory

Namespace
Javax.Net
Assembly
MASES.JNet.dll
public class SocketFactory : JVMBridgeBase<SocketFactory>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<SocketFactory>
SocketFactory
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Derived
Inherited Members
JVMBridgeBase<SocketFactory>.IsAssignableFrom(IJavaType)
JVMBridgeBase<SocketFactory>.IsAssignableFrom<T>()
JVMBridgeBase<SocketFactory>.Execute<T>(params T[])
JVMBridgeBase<SocketFactory>.DynBridgeClazz
JVMBridgeBase<SocketFactory>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

SocketFactory()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

[Obsolete("SocketFactory class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public SocketFactory()

SocketFactory(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

[Obsolete("SocketFactory class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public SocketFactory(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

Default

public static SocketFactory Default { get; }

Property Value

SocketFactory

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

CreateSocket()

public Socket CreateSocket()

Returns

Socket

Socket

Exceptions

IOException

CreateSocket(String, int)

public Socket CreateSocket(String arg0, int arg1)

Parameters

arg0 String

String

arg1 int

int

Returns

Socket

Socket

Exceptions

IOException
UnknownHostException

CreateSocket(String, int, InetAddress, int)

public Socket CreateSocket(String arg0, int arg1, InetAddress arg2, int arg3)

Parameters

arg0 String

String

arg1 int

int

arg2 InetAddress

InetAddress

arg3 int

int

Returns

Socket

Socket

Exceptions

IOException
UnknownHostException

CreateSocket(InetAddress, int)

public Socket CreateSocket(InetAddress arg0, int arg1)

Parameters

arg0 InetAddress

InetAddress

arg1 int

int

Returns

Socket

Socket

Exceptions

IOException

CreateSocket(InetAddress, int, InetAddress, int)

public Socket CreateSocket(InetAddress arg0, int arg1, InetAddress arg2, int arg3)

Parameters

arg0 InetAddress

InetAddress

arg1 int

int

arg2 InetAddress

InetAddress

arg3 int

int

Returns

Socket

Socket

Exceptions

IOException