Class MulticastSocket
public class MulticastSocket : DatagramSocket, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, ICloseable, IAutoCloseable
- Inheritance
-
MulticastSocket
- Implements
- Inherited Members
- Extension Methods
Constructors
MulticastSocket()
public MulticastSocket()
Exceptions
MulticastSocket(SocketAddress)
public MulticastSocket(SocketAddress arg0)
Parameters
Exceptions
MulticastSocket(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 MulticastSocket(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
MulticastSocket(int)
public MulticastSocket(int arg0)
Parameters
Exceptions
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
Interface
https://docs.oracle.com/javase/8/docs/api/java/net/MulticastSocket.html#getInterface-- https://docs.oracle.com/javase/8/docs/api/java/net/MulticastSocket.html#setInterface-java.net.InetAddress-
public InetAddress Interface { get; set; }
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 java.lang.AutoCloseable
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
LoopbackMode
https://docs.oracle.com/javase/8/docs/api/java/net/MulticastSocket.html#getLoopbackMode-- https://docs.oracle.com/javase/8/docs/api/java/net/MulticastSocket.html#setLoopbackMode-boolean-
public bool LoopbackMode { get; set; }
Property Value
NetworkInterface
https://docs.oracle.com/javase/8/docs/api/java/net/MulticastSocket.html#getNetworkInterface-- https://docs.oracle.com/javase/8/docs/api/java/net/MulticastSocket.html#setNetworkInterface-java.net.NetworkInterface-
public NetworkInterface NetworkInterface { get; set; }
Property Value
TTL
https://docs.oracle.com/javase/8/docs/api/java/net/MulticastSocket.html#getTTL-- https://docs.oracle.com/javase/8/docs/api/java/net/MulticastSocket.html#setTTL-byte-
[Obsolete("Deprecated in JVM")]
public byte TTL { get; set; }
Property Value
TimeToLive
https://docs.oracle.com/javase/8/docs/api/java/net/MulticastSocket.html#getTimeToLive-- https://docs.oracle.com/javase/8/docs/api/java/net/MulticastSocket.html#setTimeToLive-int-
public int TimeToLive { get; set; }
Property Value
Methods
CreatePoolableInstance()
HPA initializer for MulticastSocket()
public static MulticastSocket CreatePoolableInstance()
Returns
CreatePoolableInstance(SocketAddress)
HPA initializer for MulticastSocket(Java.Net.SocketAddress arg0)
public static MulticastSocket CreatePoolableInstance(SocketAddress arg0)
Parameters
arg0SocketAddress
Returns
CreatePoolableInstance(int)
HPA initializer for MulticastSocket(int arg0)
public static MulticastSocket CreatePoolableInstance(int arg0)
Parameters
arg0int
Returns
JoinGroup(InetAddress)
public void JoinGroup(InetAddress arg0)
Parameters
arg0InetAddress
Exceptions
JoinGroup(SocketAddress, NetworkInterface)
public void JoinGroup(SocketAddress arg0, NetworkInterface arg1)
Parameters
Exceptions
LeaveGroup(InetAddress)
public void LeaveGroup(InetAddress arg0)
Parameters
arg0InetAddress
Exceptions
LeaveGroup(SocketAddress, NetworkInterface)
public void LeaveGroup(SocketAddress arg0, NetworkInterface arg1)
Parameters
Exceptions
Send(DatagramPacket, byte)
[Obsolete("Deprecated in JVM")]
public void Send(DatagramPacket arg0, byte arg1)
Parameters
arg0DatagramPacketarg1byte