Class LocalSocket
public class LocalSocket : Closeable, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ICloseable, IAutoCloseable
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<AutoCloseable>LocalSocket
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<AutoCloseable>.SExecuteWithSignature(Type, IJavaType, string, string, params object[])JVMBridgeBase<AutoCloseable>.SExecute<TReturn, TConverter>(Type, IJavaType, string, params object[])JVMBridgeBase<AutoCloseable>.IsAssignableFrom(IJavaType)JVMBridgeBase<AutoCloseable>.IsAssignableFrom<T>()JVMBridgeBase<AutoCloseable>.Execute<T>(params T[])JVMBridgeBase<AutoCloseable>.DynBridgeClazzJVMBridgeBase<AutoCloseable>.BridgeClazzJVMBridgeBase.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.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.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
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
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
SOCKET_DGRAM
public static int SOCKET_DGRAM { get; }
Property Value
SOCKET_SEQPACKET
public static int SOCKET_SEQPACKET { get; }
Property Value
SOCKET_STREAM
public static int SOCKET_STREAM { get; }
Property Value
Methods
Bind(LocalSocketAddress)
public void Bind(LocalSocketAddress arg0)
Parameters
Exceptions
Close()
public void Close()
Exceptions
Connect(LocalSocketAddress)
public void Connect(LocalSocketAddress arg0)
Parameters
Exceptions
Connect(LocalSocketAddress, int)
public void Connect(LocalSocketAddress arg0, int arg1)
Parameters
arg0
LocalSocketAddressarg1
int
Exceptions
GetAncillaryFileDescriptors()
public FileDescriptor[] GetAncillaryFileDescriptors()
Returns
Exceptions
GetFileDescriptor()
public FileDescriptor GetFileDescriptor()
Returns
GetInputStream()
public InputStream GetInputStream()
Returns
Exceptions
GetLocalSocketAddress()
public LocalSocketAddress GetLocalSocketAddress()
Returns
GetOutputStream()
public OutputStream GetOutputStream()
Returns
Exceptions
GetPeerCredentials()
public Credentials GetPeerCredentials()
Returns
Exceptions
GetReceiveBufferSize()
public int GetReceiveBufferSize()
Returns
Exceptions
GetRemoteSocketAddress()
public LocalSocketAddress GetRemoteSocketAddress()
Returns
GetSendBufferSize()
public int GetSendBufferSize()
Returns
Exceptions
GetSoTimeout()
public int GetSoTimeout()
Returns
Exceptions
IsBound()
public bool IsBound()
Returns
IsClosed()
public bool IsClosed()
Returns
IsConnected()
public bool IsConnected()
Returns
IsInputShutdown()
public bool IsInputShutdown()
Returns
IsOutputShutdown()
public bool IsOutputShutdown()
Returns
SetFileDescriptorsForSend(FileDescriptor[])
public void SetFileDescriptorsForSend(FileDescriptor[] arg0)
Parameters
arg0
FileDescriptor[]
SetReceiveBufferSize(int)
public void SetReceiveBufferSize(int arg0)
Parameters
Exceptions
SetSendBufferSize(int)
public void SetSendBufferSize(int arg0)
Parameters
Exceptions
SetSoTimeout(int)
public void SetSoTimeout(int arg0)
Parameters
Exceptions
ShutdownInput()
public void ShutdownInput()
Exceptions
ShutdownOutput()
public void ShutdownOutput()