public class UdpClient extends NetObject implements java.lang.AutoCloseable
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Net.Sockets.UdpClient
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.Sockets, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Net.Sockets
|
static java.lang.String |
className
Qualified class name: System.Net.Sockets.UdpClient
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
UdpClient()
Initializes a new instance by invoking the .NET constructor.
|
UdpClient(AddressFamily family)
Initializes a new instance by invoking the .NET constructor.
|
UdpClient(int port)
Initializes a new instance by invoking the .NET constructor.
|
UdpClient(int port,
AddressFamily family)
Initializes a new instance by invoking the .NET constructor.
|
UdpClient(IPEndPoint localEP)
Initializes a new instance by invoking the .NET constructor.
|
UdpClient(java.lang.Object instance)
Internal constructor.
|
UdpClient(java.lang.String hostname,
int port)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AllowNatTraversal(boolean allowed)
Invokes the .NET member AllowNatTraversal.
|
IAsyncResult |
BeginReceive(AsyncCallback requestCallback,
NetObject state)
Invokes the .NET member BeginReceive.
|
IAsyncResult |
BeginSend(byte[] datagram,
int bytes,
AsyncCallback requestCallback,
NetObject state)
Invokes the .NET member BeginSend.
|
IAsyncResult |
BeginSend(byte[] datagram,
int bytes,
IPEndPoint endPoint,
AsyncCallback requestCallback,
NetObject state)
Invokes the .NET member BeginSend.
|
IAsyncResult |
BeginSend(byte[] datagram,
int bytes,
java.lang.String hostname,
int port,
AsyncCallback requestCallback,
NetObject state)
Invokes the .NET member BeginSend.
|
IAsyncResult |
BeginSend(JCORefOut dupParam0,
int dupParam1,
AsyncCallback dupParam2,
NetObject dupParam3)
Invokes the .NET member BeginSend.
|
IAsyncResult |
BeginSend(JCORefOut dupParam0,
int dupParam1,
IPEndPoint dupParam2,
AsyncCallback dupParam3,
NetObject dupParam4)
Invokes the .NET member BeginSend.
|
IAsyncResult |
BeginSend(JCORefOut dupParam0,
int dupParam1,
java.lang.String dupParam2,
int dupParam3,
AsyncCallback dupParam4,
NetObject dupParam5)
Invokes the .NET member BeginSend.
|
static UdpClient |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into UdpClient, a cast assert is made to check if types are compatible. |
void |
close() |
void |
Close()
Invokes the .NET member Close.
|
void |
Connect(IPAddress addr,
int port)
Invokes the .NET member Connect.
|
void |
Connect(IPEndPoint endPoint)
Invokes the .NET member Connect.
|
void |
Connect(java.lang.String hostname,
int port)
Invokes the .NET member Connect.
|
void |
Dispose()
Invokes the .NET member Dispose.
|
void |
DropMulticastGroup(IPAddress multicastAddr)
Invokes the .NET member DropMulticastGroup.
|
void |
DropMulticastGroup(IPAddress multicastAddr,
int ifindex)
Invokes the .NET member DropMulticastGroup.
|
byte[] |
EndReceive(IAsyncResult asyncResult,
JCORefOut<IPEndPoint> remoteEP)
Invokes the .NET member EndReceive.
|
int |
EndSend(IAsyncResult asyncResult)
Invokes the .NET member EndSend.
|
int |
getAvailable()
Gets the value of the .NET property Available.
|
Socket |
getClient()
Gets the value of the .NET property Client.
|
boolean |
getDontFragment()
Gets the value of the .NET property DontFragment.
|
boolean |
getEnableBroadcast()
Gets the value of the .NET property EnableBroadcast.
|
boolean |
getExclusiveAddressUse()
Gets the value of the .NET property ExclusiveAddressUse.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
boolean |
getMulticastLoopback()
Gets the value of the .NET property MulticastLoopback.
|
short |
getTtl()
Gets the value of the .NET property Ttl.
|
void |
JoinMulticastGroup(int ifindex,
IPAddress multicastAddr)
Invokes the .NET member JoinMulticastGroup.
|
void |
JoinMulticastGroup(IPAddress multicastAddr)
Invokes the .NET member JoinMulticastGroup.
|
void |
JoinMulticastGroup(IPAddress multicastAddr,
int timeToLive)
Invokes the .NET member JoinMulticastGroup.
|
void |
JoinMulticastGroup(IPAddress multicastAddr,
IPAddress localAddress)
Invokes the .NET member JoinMulticastGroup.
|
byte[] |
Receive(JCORefOut<IPEndPoint> remoteEP)
Invokes the .NET member Receive.
|
Task_1 |
ReceiveAsync()
Invokes the .NET member ReceiveAsync.
|
ValueTask_1 |
ReceiveAsync(CancellationToken cancellationToken)
Invokes the .NET member ReceiveAsync.
|
int |
Send(byte[] dgram,
int bytes)
Invokes the .NET member Send.
|
int |
Send(byte[] dgram,
int bytes,
IPEndPoint endPoint)
Invokes the .NET member Send.
|
int |
Send(byte[] dgram,
int bytes,
java.lang.String hostname,
int port)
Invokes the .NET member Send.
|
int |
Send(JCORefOut dupParam0,
int dupParam1)
Invokes the .NET member Send.
|
int |
Send(JCORefOut dupParam0,
int dupParam1,
IPEndPoint dupParam2)
Invokes the .NET member Send.
|
int |
Send(JCORefOut dupParam0,
int dupParam1,
java.lang.String dupParam2,
int dupParam3)
Invokes the .NET member Send.
|
Task_1 |
SendAsync(byte[] datagram,
int bytes)
Invokes the .NET member SendAsync.
|
Task_1 |
SendAsync(byte[] datagram,
int bytes,
IPEndPoint endPoint)
Invokes the .NET member SendAsync.
|
Task_1 |
SendAsync(byte[] datagram,
int bytes,
java.lang.String hostname,
int port)
Invokes the .NET member SendAsync.
|
Task_1 |
SendAsync(JCORefOut dupParam0,
int dupParam1)
Invokes the .NET member SendAsync.
|
Task_1 |
SendAsync(JCORefOut dupParam0,
int dupParam1,
IPEndPoint dupParam2)
Invokes the .NET member SendAsync.
|
Task_1 |
SendAsync(JCORefOut dupParam0,
int dupParam1,
java.lang.String dupParam2,
int dupParam3)
Invokes the .NET member SendAsync.
|
ValueTask_1 |
SendAsync(ReadOnlyMemory_1 datagram,
CancellationToken cancellationToken)
Invokes the .NET member SendAsync.
|
ValueTask_1 |
SendAsync(ReadOnlyMemory_1 datagram,
IPEndPoint endPoint,
CancellationToken cancellationToken)
Invokes the .NET member SendAsync.
|
ValueTask_1 |
SendAsync(ReadOnlyMemory_1 datagram,
java.lang.String hostname,
int port,
CancellationToken cancellationToken)
Invokes the .NET member SendAsync.
|
void |
setClient(Socket Client)
Sets the value of the .NET property Client.
|
void |
setDontFragment(boolean DontFragment)
Sets the value of the .NET property DontFragment.
|
void |
setEnableBroadcast(boolean EnableBroadcast)
Sets the value of the .NET property EnableBroadcast.
|
void |
setExclusiveAddressUse(boolean ExclusiveAddressUse)
Sets the value of the .NET property ExclusiveAddressUse.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setMulticastLoopback(boolean MulticastLoopback)
Sets the value of the .NET property MulticastLoopback.
|
void |
setTtl(short Ttl)
Sets the value of the .NET property Ttl.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public UdpClient()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
OutOfMemoryException,
FormatException,
EventSourceException,
SocketException
java.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itpublic UdpClient(AddressFamily family) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, OutOfMemoryException, NotSupportedException, FormatException, EventSourceException, SocketException
family - the argument of type AddressFamilyjava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itpublic UdpClient(int port)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException,
EventSourceException,
SocketException
port - the argument of type intjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itpublic UdpClient(int port,
AddressFamily family)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException,
IndexOutOfRangeException,
OutOfMemoryException,
FormatException,
EventSourceException,
SocketException
port - the argument of type intfamily - the argument of type AddressFamilyjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itpublic UdpClient(IPEndPoint localEP) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, SocketException, CultureNotFoundException
localEP - the argument of type IPEndPointjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic UdpClient(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic UdpClient(java.lang.String hostname,
int port)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException,
EventSourceException,
SocketException
hostname - the argument of type java.lang.Stringport - the argument of type intjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itpublic void AllowNatTraversal(boolean allowed)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
OutOfMemoryException,
FormatException,
EventSourceException,
SocketException,
NotSupportedException
allowed - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic IAsyncResult BeginReceive(AsyncCallback requestCallback, NetObject state) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException, PlatformNotSupportedException, FormatException, SocketException, ArrayTypeMismatchException, OutOfMemoryException, EventSourceException, TaskSchedulerException, OperationCanceledException
requestCallback - the argument of type AsyncCallbackstate - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itSocketException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itOperationCanceledException - if the .NET member raises itpublic IAsyncResult BeginSend(byte[] datagram, int bytes, AsyncCallback requestCallback, NetObject state) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, CultureNotFoundException, NotSupportedException, SocketException
datagram - the argument of type byte[]bytes - the argument of type intrequestCallback - the argument of type AsyncCallbackstate - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itSocketException - if the .NET member raises itpublic IAsyncResult BeginSend(byte[] datagram, int bytes, IPEndPoint endPoint, AsyncCallback requestCallback, NetObject state) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, ArrayTypeMismatchException, SocketException
datagram - the argument of type byte[]bytes - the argument of type intendPoint - the argument of type IPEndPointrequestCallback - the argument of type AsyncCallbackstate - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itSocketException - if the .NET member raises itpublic IAsyncResult BeginSend(byte[] datagram, int bytes, java.lang.String hostname, int port, AsyncCallback requestCallback, NetObject state) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, FormatException, OutOfMemoryException, EventSourceException, SocketException, NotSupportedException
datagram - the argument of type byte[]bytes - the argument of type inthostname - the argument of type java.lang.Stringport - the argument of type intrequestCallback - the argument of type AsyncCallbackstate - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic IAsyncResult BeginSend(JCORefOut dupParam0, int dupParam1, AsyncCallback dupParam2, NetObject dupParam3) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, CultureNotFoundException, NotSupportedException, SocketException
dupParam0 - the argument of type JCORefOutdupParam1 - the argument of type intdupParam2 - the argument of type AsyncCallbackdupParam3 - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itSocketException - if the .NET member raises itpublic IAsyncResult BeginSend(JCORefOut dupParam0, int dupParam1, IPEndPoint dupParam2, AsyncCallback dupParam3, NetObject dupParam4) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, ArrayTypeMismatchException, SocketException
dupParam0 - the argument of type JCORefOutdupParam1 - the argument of type intdupParam2 - the argument of type IPEndPointdupParam3 - the argument of type AsyncCallbackdupParam4 - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itSocketException - if the .NET member raises itpublic IAsyncResult BeginSend(JCORefOut dupParam0, int dupParam1, java.lang.String dupParam2, int dupParam3, AsyncCallback dupParam4, NetObject dupParam5) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, FormatException, OutOfMemoryException, EventSourceException, SocketException, NotSupportedException
dupParam0 - the argument of type JCORefOutdupParam1 - the argument of type intdupParam2 - the argument of type java.lang.StringdupParam3 - the argument of type intdupParam4 - the argument of type AsyncCallbackdupParam5 - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic static UdpClient cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into UdpClient, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedUdpClient 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 Close()
throws java.lang.Throwable,
NotSupportedException,
PlatformNotSupportedException,
IndexOutOfRangeException,
OutOfMemoryException,
InvalidOperationException,
ArgumentException,
FormatException,
ArgumentNullException,
ArgumentOutOfRangeException,
EventSourceException,
ObjectDisposedException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itFormatException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itEventSourceException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void Connect(IPAddress addr, int port) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, OutOfMemoryException, PlatformNotSupportedException, FormatException, ArgumentNullException, EventSourceException, SocketException
addr - the argument of type IPAddressport - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itArgumentNullException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itpublic void Connect(IPEndPoint endPoint) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, ArgumentNullException, EventSourceException, ArrayTypeMismatchException, SocketException
endPoint - the argument of type IPEndPointjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itArgumentNullException - if the .NET member raises itEventSourceException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itSocketException - if the .NET member raises itpublic void Connect(java.lang.String hostname,
int port)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ObjectDisposedException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException,
ArgumentNullException,
EventSourceException,
SocketException,
ArrayTypeMismatchException
hostname - the argument of type java.lang.Stringport - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentNullException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void Dispose()
throws java.lang.Throwable,
NotSupportedException,
PlatformNotSupportedException,
IndexOutOfRangeException,
OutOfMemoryException,
InvalidOperationException,
ArgumentException,
FormatException,
ArgumentNullException,
ArgumentOutOfRangeException,
EventSourceException,
ObjectDisposedException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itFormatException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itEventSourceException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void DropMulticastGroup(IPAddress multicastAddr) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, OutOfMemoryException, EventSourceException, SocketException, ArrayTypeMismatchException
multicastAddr - the argument of type IPAddressjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void DropMulticastGroup(IPAddress multicastAddr, int ifindex) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, SocketException, OutOfMemoryException, EventSourceException, ArrayTypeMismatchException
multicastAddr - the argument of type IPAddressifindex - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itSocketException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic byte[] EndReceive(IAsyncResult asyncResult, JCORefOut<IPEndPoint> remoteEP) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, SocketException, ArgumentNullException, IndexOutOfRangeException, TaskSchedulerException, TaskCanceledException, AggregateException
asyncResult - the argument of type IAsyncResultremoteEP - the argument of type JCORefOut<IPEndPoint>java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itSocketException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itpublic int EndSend(IAsyncResult asyncResult) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, TaskSchedulerException, PlatformNotSupportedException, TaskCanceledException, AggregateException
asyncResult - the argument of type IAsyncResultjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itpublic int getAvailable()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
PlatformNotSupportedException,
IndexOutOfRangeException,
OutOfMemoryException,
InvalidOperationException,
FormatException,
ArgumentOutOfRangeException,
ArgumentNullException,
EventSourceException,
SocketException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itpublic Socket getClient() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getDontFragment()
throws java.lang.Throwable,
ObjectDisposedException,
PlatformNotSupportedException,
ArgumentNullException,
OutOfMemoryException,
ArgumentOutOfRangeException,
ArgumentException,
FormatException,
InvalidOperationException,
EventSourceException,
SocketException,
NotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itFormatException - if the .NET member raises itInvalidOperationException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic boolean getEnableBroadcast()
throws java.lang.Throwable,
ObjectDisposedException,
PlatformNotSupportedException,
ArgumentNullException,
OutOfMemoryException,
ArgumentOutOfRangeException,
ArgumentException,
FormatException,
InvalidOperationException,
EventSourceException,
SocketException
java.lang.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itFormatException - if the .NET member raises itInvalidOperationException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itpublic boolean getExclusiveAddressUse()
throws java.lang.Throwable,
ObjectDisposedException,
PlatformNotSupportedException,
ArgumentNullException,
OutOfMemoryException,
ArgumentOutOfRangeException,
ArgumentException,
FormatException,
InvalidOperationException,
EventSourceException,
SocketException
java.lang.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itFormatException - if the .NET member raises itInvalidOperationException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic boolean getMulticastLoopback()
throws java.lang.Throwable,
ObjectDisposedException,
PlatformNotSupportedException,
ArgumentNullException,
OutOfMemoryException,
ArgumentOutOfRangeException,
ArgumentException,
FormatException,
InvalidOperationException,
EventSourceException,
SocketException,
NotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itFormatException - if the .NET member raises itInvalidOperationException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic short getTtl()
throws java.lang.Throwable,
ObjectDisposedException,
PlatformNotSupportedException,
ArgumentNullException,
OutOfMemoryException,
ArgumentOutOfRangeException,
ArgumentException,
FormatException,
InvalidOperationException,
EventSourceException,
SocketException,
NotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itFormatException - if the .NET member raises itInvalidOperationException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic void JoinMulticastGroup(int ifindex,
IPAddress multicastAddr)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ObjectDisposedException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
FormatException,
SocketException,
OutOfMemoryException,
EventSourceException,
ArrayTypeMismatchException
ifindex - the argument of type intmulticastAddr - the argument of type IPAddressjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itSocketException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void JoinMulticastGroup(IPAddress multicastAddr) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, OutOfMemoryException, EventSourceException, SocketException, ArrayTypeMismatchException
multicastAddr - the argument of type IPAddressjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void JoinMulticastGroup(IPAddress multicastAddr, int timeToLive) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, OutOfMemoryException, EventSourceException, SocketException, ArrayTypeMismatchException
multicastAddr - the argument of type IPAddresstimeToLive - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void JoinMulticastGroup(IPAddress multicastAddr, IPAddress localAddress) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, IndexOutOfRangeException, FormatException, SocketException, PlatformNotSupportedException, OutOfMemoryException, ArgumentNullException, EventSourceException, ArrayTypeMismatchException
multicastAddr - the argument of type IPAddresslocalAddress - the argument of type IPAddressjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itSocketException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentNullException - if the .NET member raises itEventSourceException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic byte[] Receive(JCORefOut<IPEndPoint> remoteEP) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException, PlatformNotSupportedException, SocketException, IndexOutOfRangeException, ArrayTypeMismatchException
remoteEP - the argument of type JCORefOut<IPEndPoint>java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itSocketException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic Task_1 ReceiveAsync() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, OutOfMemoryException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic ValueTask_1 ReceiveAsync(CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, SocketException, OutOfMemoryException
cancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itSocketException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic int Send(byte[] dgram,
int bytes)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ObjectDisposedException,
ArgumentNullException,
PlatformNotSupportedException,
SocketException,
IndexOutOfRangeException,
ArrayTypeMismatchException
dgram - the argument of type byte[]bytes - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itSocketException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic int Send(byte[] dgram,
int bytes,
IPEndPoint endPoint)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ObjectDisposedException,
ArgumentNullException,
PlatformNotSupportedException,
SocketException,
IndexOutOfRangeException,
ArrayTypeMismatchException
dgram - the argument of type byte[]bytes - the argument of type intendPoint - the argument of type IPEndPointjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itSocketException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic int Send(byte[] dgram,
int bytes,
java.lang.String hostname,
int port)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException,
EventSourceException,
SocketException
dgram - the argument of type byte[]bytes - the argument of type inthostname - the argument of type java.lang.Stringport - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itpublic int Send(JCORefOut dupParam0, int dupParam1) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException, PlatformNotSupportedException, SocketException, IndexOutOfRangeException, ArrayTypeMismatchException
dupParam0 - the argument of type JCORefOutdupParam1 - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itSocketException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic int Send(JCORefOut dupParam0, int dupParam1, IPEndPoint dupParam2) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException, PlatformNotSupportedException, SocketException, IndexOutOfRangeException, ArrayTypeMismatchException
dupParam0 - the argument of type JCORefOutdupParam1 - the argument of type intdupParam2 - the argument of type IPEndPointjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itSocketException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic int Send(JCORefOut dupParam0, int dupParam1, java.lang.String dupParam2, int dupParam3) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, FormatException, OutOfMemoryException, EventSourceException, SocketException
dupParam0 - the argument of type JCORefOutdupParam1 - the argument of type intdupParam2 - the argument of type java.lang.StringdupParam3 - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itpublic Task_1 SendAsync(byte[] datagram, int bytes) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, CultureNotFoundException, NotSupportedException, SocketException
datagram - the argument of type byte[]bytes - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itSocketException - if the .NET member raises itpublic Task_1 SendAsync(byte[] datagram, int bytes, IPEndPoint endPoint) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, ArrayTypeMismatchException, SocketException
datagram - the argument of type byte[]bytes - the argument of type intendPoint - the argument of type IPEndPointjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itSocketException - if the .NET member raises itpublic Task_1 SendAsync(byte[] datagram, int bytes, java.lang.String hostname, int port) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, FormatException, OutOfMemoryException, EventSourceException, SocketException, NotSupportedException
datagram - the argument of type byte[]bytes - the argument of type inthostname - the argument of type java.lang.Stringport - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic Task_1 SendAsync(JCORefOut dupParam0, int dupParam1) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, CultureNotFoundException, NotSupportedException, SocketException
dupParam0 - the argument of type JCORefOutdupParam1 - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itSocketException - if the .NET member raises itpublic Task_1 SendAsync(JCORefOut dupParam0, int dupParam1, IPEndPoint dupParam2) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, ArrayTypeMismatchException, SocketException
dupParam0 - the argument of type JCORefOutdupParam1 - the argument of type intdupParam2 - the argument of type IPEndPointjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itSocketException - if the .NET member raises itpublic Task_1 SendAsync(JCORefOut dupParam0, int dupParam1, java.lang.String dupParam2, int dupParam3) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, FormatException, OutOfMemoryException, EventSourceException, SocketException, NotSupportedException
dupParam0 - the argument of type JCORefOutdupParam1 - the argument of type intdupParam2 - the argument of type java.lang.StringdupParam3 - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic ValueTask_1 SendAsync(ReadOnlyMemory_1 datagram, CancellationToken cancellationToken) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, InvalidOperationException, ArrayTypeMismatchException, IndexOutOfRangeException, SocketException
datagram - the argument of type ReadOnlyMemory_1cancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itSocketException - if the .NET member raises itpublic ValueTask_1 SendAsync(ReadOnlyMemory_1 datagram, IPEndPoint endPoint, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException, PlatformNotSupportedException, OutOfMemoryException, ArrayTypeMismatchException, FormatException, SocketException
datagram - the argument of type ReadOnlyMemory_1endPoint - the argument of type IPEndPointcancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itFormatException - if the .NET member raises itSocketException - if the .NET member raises itpublic ValueTask_1 SendAsync(ReadOnlyMemory_1 datagram, java.lang.String hostname, int port, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, FormatException, OutOfMemoryException, EventSourceException, SocketException, NotSupportedException
datagram - the argument of type ReadOnlyMemory_1hostname - the argument of type java.lang.Stringport - the argument of type intcancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic void setClient(Socket Client) throws java.lang.Throwable
Client - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setDontFragment(boolean DontFragment)
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException,
OutOfMemoryException,
InvalidOperationException,
ArgumentException,
FormatException,
ArgumentOutOfRangeException,
EventSourceException,
ArrayTypeMismatchException,
SocketException,
NotSupportedException
DontFragment - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itFormatException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itEventSourceException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itSocketException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic void setEnableBroadcast(boolean EnableBroadcast)
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException,
OutOfMemoryException,
InvalidOperationException,
ArgumentException,
FormatException,
ArgumentOutOfRangeException,
EventSourceException,
ArrayTypeMismatchException,
SocketException
EnableBroadcast - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itFormatException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itEventSourceException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itSocketException - if the .NET member raises itpublic void setExclusiveAddressUse(boolean ExclusiveAddressUse)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
IndexOutOfRangeException,
OutOfMemoryException,
FormatException,
EventSourceException,
ArrayTypeMismatchException,
SocketException
ExclusiveAddressUse - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itEventSourceException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itSocketException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic void setMulticastLoopback(boolean MulticastLoopback)
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException,
OutOfMemoryException,
InvalidOperationException,
ArgumentException,
FormatException,
ArgumentOutOfRangeException,
EventSourceException,
ArrayTypeMismatchException,
SocketException,
NotSupportedException
MulticastLoopback - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itFormatException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itEventSourceException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itSocketException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic void setTtl(short Ttl)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException,
EventSourceException,
SocketException
Ttl - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itSocketException - if the .NET member raises it