Class SocketOptions
public class SocketOptions : JVMBridgeBase<SocketOptions>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ISocketOptions
- Inheritance
-
SocketOptions
- Implements
- Derived
- Inherited Members
-
JVMBridgeBase<SocketOptions>.SExecuteWithSignature(Type, IJavaType, string, string, params object[])JVMBridgeBase<SocketOptions>.SExecute<TReturn, TConverter>(Type, IJavaType, string, params object[])
- Extension Methods
Constructors
SocketOptions()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("SocketOptions 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 SocketOptions()
SocketOptions(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("SocketOptions 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 SocketOptions(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
IP_MULTICAST_IF
public static int IP_MULTICAST_IF { get; }
Property Value
IP_MULTICAST_IF2
public static int IP_MULTICAST_IF2 { get; }
Property Value
IP_MULTICAST_LOOP
public static int IP_MULTICAST_LOOP { get; }
Property Value
IP_TOS
public static int IP_TOS { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements Closeable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
SO_BINDADDR
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/SocketOptions.html#SO_BINDADDR
public static int SO_BINDADDR { get; }
Property Value
SO_BROADCAST
public static int SO_BROADCAST { get; }
Property Value
SO_KEEPALIVE
public static int SO_KEEPALIVE { get; }
Property Value
SO_LINGER
public static int SO_LINGER { get; }
Property Value
SO_OOBINLINE
public static int SO_OOBINLINE { get; }
Property Value
SO_RCVBUF
public static int SO_RCVBUF { get; }
Property Value
SO_REUSEADDR
public static int SO_REUSEADDR { get; }
Property Value
SO_REUSEPORT
public static int SO_REUSEPORT { get; }
Property Value
SO_SNDBUF
public static int SO_SNDBUF { get; }
Property Value
SO_TIMEOUT
public static int SO_TIMEOUT { get; }
Property Value
TCP_NODELAY
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/SocketOptions.html#TCP_NODELAY
public static int TCP_NODELAY { get; }
Property Value
Methods
GetOption(int)
public object GetOption(int arg0)
Parameters
Returns
Exceptions
SetOption(int, object)
public void SetOption(int arg0, object arg1)