Table of Contents

Class LocalSocket

Namespace
Android.Net
Assembly
MASES.Netdroid.dll
public class LocalSocket : Closeable, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ICloseable, IAutoCloseable
Inheritance
JVMBridgeBase
JVMBridgeBase<AutoCloseable>
LocalSocket
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<AutoCloseable>.IsAssignableFrom(IJavaType)
JVMBridgeBase<AutoCloseable>.IsAssignableFrom<T>()
JVMBridgeBase<AutoCloseable>.Execute<T>(params T[])
JVMBridgeBase<AutoCloseable>.DynBridgeClazz
JVMBridgeBase<AutoCloseable>.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

LocalSocket()

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

public LocalSocket()

LocalSocket(int)

public LocalSocket(int arg0)

Parameters

arg0 int

int

LocalSocket(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

public LocalSocket(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

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

SOCKET_DGRAM

public static int SOCKET_DGRAM { get; }

Property Value

int

SOCKET_SEQPACKET

public static int SOCKET_SEQPACKET { get; }

Property Value

int

SOCKET_STREAM

public static int SOCKET_STREAM { get; }

Property Value

int

Methods

Bind(LocalSocketAddress)

public void Bind(LocalSocketAddress arg0)

Parameters

arg0 LocalSocketAddress

LocalSocketAddress

Exceptions

IOException

Close()

public void Close()

Exceptions

IOException

Connect(LocalSocketAddress)

public void Connect(LocalSocketAddress arg0)

Parameters

arg0 LocalSocketAddress

LocalSocketAddress

Exceptions

IOException

Connect(LocalSocketAddress, int)

public void Connect(LocalSocketAddress arg0, int arg1)

Parameters

arg0 LocalSocketAddress

LocalSocketAddress

arg1 int

int

Exceptions

IOException

GetAncillaryFileDescriptors()

public FileDescriptor[] GetAncillaryFileDescriptors()

Returns

FileDescriptor[]

FileDescriptor

Exceptions

IOException

GetFileDescriptor()

public FileDescriptor GetFileDescriptor()

Returns

FileDescriptor

FileDescriptor

GetInputStream()

public InputStream GetInputStream()

Returns

InputStream

InputStream

Exceptions

IOException

GetLocalSocketAddress()

public LocalSocketAddress GetLocalSocketAddress()

Returns

LocalSocketAddress

LocalSocketAddress

GetOutputStream()

public OutputStream GetOutputStream()

Returns

OutputStream

OutputStream

Exceptions

IOException

GetPeerCredentials()

public Credentials GetPeerCredentials()

Returns

Credentials

Credentials

Exceptions

IOException

GetReceiveBufferSize()

public int GetReceiveBufferSize()

Returns

int

int

Exceptions

IOException

GetRemoteSocketAddress()

public LocalSocketAddress GetRemoteSocketAddress()

Returns

LocalSocketAddress

LocalSocketAddress

GetSendBufferSize()

public int GetSendBufferSize()

Returns

int

int

Exceptions

IOException

GetSoTimeout()

public int GetSoTimeout()

Returns

int

int

Exceptions

IOException

IsBound()

public bool IsBound()

Returns

bool

bool

IsClosed()

public bool IsClosed()

Returns

bool

bool

IsConnected()

public bool IsConnected()

Returns

bool

bool

IsInputShutdown()

public bool IsInputShutdown()

Returns

bool

bool

IsOutputShutdown()

public bool IsOutputShutdown()

Returns

bool

bool

SetFileDescriptorsForSend(FileDescriptor[])

public void SetFileDescriptorsForSend(FileDescriptor[] arg0)

Parameters

arg0 FileDescriptor[]

FileDescriptor

SetReceiveBufferSize(int)

public void SetReceiveBufferSize(int arg0)

Parameters

arg0 int

int

Exceptions

IOException

SetSendBufferSize(int)

public void SetSendBufferSize(int arg0)

Parameters

arg0 int

int

Exceptions

IOException

SetSoTimeout(int)

public void SetSoTimeout(int arg0)

Parameters

arg0 int

int

Exceptions

IOException

ShutdownInput()

public void ShutdownInput()

Exceptions

IOException

ShutdownOutput()

public void ShutdownOutput()

Exceptions

IOException