public class UdpAnySourceMulticastClient extends NetObject implements java.lang.AutoCloseable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Net.Sockets.UdpAnySourceMulticastClient
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Net, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Net
|
static java.lang.String |
className
Qualified class name: System.Net.Sockets.UdpAnySourceMulticastClient
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
UdpAnySourceMulticastClient() |
UdpAnySourceMulticastClient(IPAddress groupAddress,
int localPort) |
UdpAnySourceMulticastClient(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
IAsyncResult |
BeginJoinGroup(AsyncCallback callback,
NetObject state) |
IAsyncResult |
BeginReceiveFromGroup(byte[] buffer,
int offset,
int count,
AsyncCallback callback,
NetObject state) |
IAsyncResult |
BeginReceiveFromGroup(JCORefOut dupParam0,
int dupParam1,
int dupParam2,
AsyncCallback dupParam3,
NetObject dupParam4) |
IAsyncResult |
BeginSendTo(byte[] buffer,
int offset,
int count,
IPEndPoint remoteEndPoint,
AsyncCallback callback,
NetObject state) |
IAsyncResult |
BeginSendTo(JCORefOut dupParam0,
int dupParam1,
int dupParam2,
IPEndPoint dupParam3,
AsyncCallback dupParam4,
NetObject dupParam5) |
IAsyncResult |
BeginSendToGroup(byte[] buffer,
int offset,
int count,
AsyncCallback callback,
NetObject state) |
IAsyncResult |
BeginSendToGroup(JCORefOut dupParam0,
int dupParam1,
int dupParam2,
AsyncCallback dupParam3,
NetObject dupParam4) |
void |
BlockSource(IPAddress sourceAddress) |
static UdpAnySourceMulticastClient |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into UdpAnySourceMulticastClient, a cast assert is made to check if types are compatible. |
void |
close() |
void |
Dispose() |
void |
EndJoinGroup(IAsyncResult result) |
int |
EndReceiveFromGroup(IAsyncResult result,
JCORefOut<IPEndPoint> source) |
void |
EndSendTo(IAsyncResult result) |
void |
EndSendToGroup(IAsyncResult result) |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
boolean |
getMulticastLoopback() |
int |
getReceiveBufferSize() |
int |
getSendBufferSize() |
void |
setJCOInstance(JCObject instance) |
void |
setMulticastLoopback(boolean MulticastLoopback) |
void |
setReceiveBufferSize(int ReceiveBufferSize) |
void |
setSendBufferSize(int SendBufferSize) |
void |
UnblockSource(IPAddress sourceAddress) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public UdpAnySourceMulticastClient()
throws java.lang.Throwable
java.lang.Throwablepublic UdpAnySourceMulticastClient(IPAddress groupAddress, int localPort) throws java.lang.Throwable
java.lang.Throwablepublic UdpAnySourceMulticastClient(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic IAsyncResult BeginJoinGroup(AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, SocketException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionArgumentExceptionSocketExceptionpublic IAsyncResult BeginReceiveFromGroup(byte[] buffer, int offset, int count, AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, SocketException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionArgumentExceptionSocketExceptionpublic IAsyncResult BeginReceiveFromGroup(JCORefOut dupParam0, int dupParam1, int dupParam2, AsyncCallback dupParam3, NetObject dupParam4) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, SocketException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionArgumentExceptionSocketExceptionpublic IAsyncResult BeginSendTo(byte[] buffer, int offset, int count, IPEndPoint remoteEndPoint, AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, SocketException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionArgumentExceptionSocketExceptionpublic IAsyncResult BeginSendTo(JCORefOut dupParam0, int dupParam1, int dupParam2, IPEndPoint dupParam3, AsyncCallback dupParam4, NetObject dupParam5) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, SocketException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionArgumentExceptionSocketExceptionpublic IAsyncResult BeginSendToGroup(byte[] buffer, int offset, int count, AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, SocketException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionArgumentExceptionSocketExceptionpublic IAsyncResult BeginSendToGroup(JCORefOut dupParam0, int dupParam1, int dupParam2, AsyncCallback dupParam3, NetObject dupParam4) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, SocketException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionArgumentExceptionSocketExceptionpublic void BlockSource(IPAddress sourceAddress) throws java.lang.Throwable
java.lang.Throwablepublic static UdpAnySourceMulticastClient cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into UdpAnySourceMulticastClient, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedUdpAnySourceMulticastClient instancejava.lang.Throwable - in case of error during cast operationpublic void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exceptionpublic void Dispose()
throws java.lang.Throwable
java.lang.Throwablepublic void EndJoinGroup(IAsyncResult result) throws java.lang.Throwable
java.lang.Throwablepublic int EndReceiveFromGroup(IAsyncResult result, JCORefOut<IPEndPoint> source) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, SocketException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionArgumentExceptionSocketExceptionpublic void EndSendTo(IAsyncResult result) throws java.lang.Throwable
java.lang.Throwablepublic void EndSendToGroup(IAsyncResult result) throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic boolean getMulticastLoopback()
throws java.lang.Throwable
java.lang.Throwablepublic int getReceiveBufferSize()
throws java.lang.Throwable
java.lang.Throwablepublic int getSendBufferSize()
throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic void setMulticastLoopback(boolean MulticastLoopback)
throws java.lang.Throwable
java.lang.Throwablepublic void setReceiveBufferSize(int ReceiveBufferSize)
throws java.lang.Throwable
java.lang.Throwablepublic void setSendBufferSize(int SendBufferSize)
throws java.lang.Throwable
java.lang.Throwablepublic void UnblockSource(IPAddress sourceAddress) throws java.lang.Throwable
java.lang.Throwable