public class UdpClient extends NetObject implements java.lang.AutoCloseable
.NET documentation at https://docs.microsoft.com/en-us/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=10.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() |
UdpClient(AddressFamily family) |
UdpClient(int port) |
UdpClient(int port,
AddressFamily family) |
UdpClient(IPEndPoint localEP) |
UdpClient(java.lang.Object instance)
Internal constructor.
|
UdpClient(java.lang.String hostname,
int port) |
| Modifier and Type | Method and Description |
|---|---|
void |
AllowNatTraversal(boolean allowed) |
IAsyncResult |
BeginReceive(AsyncCallback requestCallback,
NetObject state) |
IAsyncResult |
BeginSend(byte[] datagram,
int bytes,
AsyncCallback requestCallback,
NetObject state) |
IAsyncResult |
BeginSend(byte[] datagram,
int bytes,
IPEndPoint endPoint,
AsyncCallback requestCallback,
NetObject state) |
IAsyncResult |
BeginSend(byte[] datagram,
int bytes,
java.lang.String hostname,
int port,
AsyncCallback requestCallback,
NetObject state) |
IAsyncResult |
BeginSend(JCORefOut dupParam0,
int dupParam1,
AsyncCallback dupParam2,
NetObject dupParam3) |
IAsyncResult |
BeginSend(JCORefOut dupParam0,
int dupParam1,
IPEndPoint dupParam2,
AsyncCallback dupParam3,
NetObject dupParam4) |
IAsyncResult |
BeginSend(JCORefOut dupParam0,
int dupParam1,
java.lang.String dupParam2,
int dupParam3,
AsyncCallback dupParam4,
NetObject dupParam5) |
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() |
void |
Connect(IPAddress addr,
int port) |
void |
Connect(IPEndPoint endPoint) |
void |
Connect(java.lang.String hostname,
int port) |
void |
Dispose() |
void |
DropMulticastGroup(IPAddress multicastAddr) |
void |
DropMulticastGroup(IPAddress multicastAddr,
int ifindex) |
byte[] |
EndReceive(IAsyncResult asyncResult,
JCORefOut<IPEndPoint> remoteEP) |
int |
EndSend(IAsyncResult asyncResult) |
int |
getAvailable() |
Socket |
getClient() |
boolean |
getDontFragment() |
boolean |
getEnableBroadcast() |
boolean |
getExclusiveAddressUse() |
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() |
short |
getTtl() |
void |
JoinMulticastGroup(int ifindex,
IPAddress multicastAddr) |
void |
JoinMulticastGroup(IPAddress multicastAddr) |
void |
JoinMulticastGroup(IPAddress multicastAddr,
int timeToLive) |
void |
JoinMulticastGroup(IPAddress multicastAddr,
IPAddress localAddress) |
byte[] |
Receive(JCORefOut<IPEndPoint> remoteEP) |
int |
Send(byte[] dgram,
int bytes) |
int |
Send(byte[] dgram,
int bytes,
IPEndPoint endPoint) |
int |
Send(byte[] dgram,
int bytes,
java.lang.String hostname,
int port) |
int |
Send(JCORefOut dupParam0,
int dupParam1) |
int |
Send(JCORefOut dupParam0,
int dupParam1,
IPEndPoint dupParam2) |
int |
Send(JCORefOut dupParam0,
int dupParam1,
java.lang.String dupParam2,
int dupParam3) |
void |
setClient(Socket Client) |
void |
setDontFragment(boolean DontFragment) |
void |
setEnableBroadcast(boolean EnableBroadcast) |
void |
setExclusiveAddressUse(boolean ExclusiveAddressUse) |
void |
setJCOInstance(JCObject instance) |
void |
setMulticastLoopback(boolean MulticastLoopback) |
void |
setTtl(short 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,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException,
OutOfMemoryException,
FormatException,
EventSourceException,
SocketException
public UdpClient(AddressFamily family) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException, FormatException, EventSourceException, SocketException
public UdpClient(int port)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException,
EventSourceException,
SocketException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionEventSourceExceptionSocketExceptionpublic UdpClient(int port,
AddressFamily family)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException,
OutOfMemoryException,
FormatException,
EventSourceException,
SocketException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSocketExceptionpublic UdpClient(IPEndPoint localEP) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, OutOfMemoryException, FormatException, EventSourceException, SocketException, CultureNotFoundException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSocketExceptionCultureNotFoundExceptionpublic UdpClient(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic UdpClient(java.lang.String hostname,
int port)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException,
OutOfMemoryException,
FormatException,
EventSourceException,
SocketException,
NullReferenceException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSocketExceptionNullReferenceExceptionpublic void AllowNatTraversal(boolean allowed)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException,
OutOfMemoryException,
FormatException,
EventSourceException,
SocketException
public IAsyncResult BeginReceive(AsyncCallback requestCallback, NetObject state) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, FormatException, SocketException, NullReferenceException, OutOfMemoryException, EventSourceException, TaskSchedulerException, ThreadStateException, OperationCanceledException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionFormatExceptionSocketExceptionNullReferenceExceptionOutOfMemoryExceptionEventSourceExceptionTaskSchedulerExceptionThreadStateExceptionOperationCanceledExceptionpublic IAsyncResult BeginSend(byte[] datagram, int bytes, AsyncCallback requestCallback, NetObject state) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, NullReferenceException, SocketException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionFormatExceptionNullReferenceExceptionSocketExceptionpublic IAsyncResult BeginSend(byte[] datagram, int bytes, IPEndPoint endPoint, AsyncCallback requestCallback, NetObject state) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, FormatException, NullReferenceException, SocketException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionNullReferenceExceptionSocketExceptionpublic IAsyncResult BeginSend(byte[] datagram, int bytes, java.lang.String hostname, int port, AsyncCallback requestCallback, NetObject state) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, SocketException, NullReferenceException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSocketExceptionNullReferenceExceptionpublic IAsyncResult BeginSend(JCORefOut dupParam0, int dupParam1, AsyncCallback dupParam2, NetObject dupParam3) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, NullReferenceException, SocketException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionFormatExceptionNullReferenceExceptionSocketExceptionpublic IAsyncResult BeginSend(JCORefOut dupParam0, int dupParam1, IPEndPoint dupParam2, AsyncCallback dupParam3, NetObject dupParam4) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, FormatException, NullReferenceException, SocketException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionNullReferenceExceptionSocketExceptionpublic IAsyncResult BeginSend(JCORefOut dupParam0, int dupParam1, java.lang.String dupParam2, int dupParam3, AsyncCallback dupParam4, NetObject dupParam5) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, SocketException, NullReferenceException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSocketExceptionNullReferenceExceptionpublic 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,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
IndexOutOfRangeException,
OutOfMemoryException,
ArrayTypeMismatchException,
ArgumentOutOfRangeException,
InvalidOperationException,
FormatException,
ArgumentNullException,
EventSourceException,
ObjectDisposedException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionArrayTypeMismatchExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionFormatExceptionArgumentNullExceptionEventSourceExceptionObjectDisposedExceptionpublic void Connect(IPAddress addr, int port) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, FormatException, EventSourceException, SocketException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSocketExceptionpublic void Connect(IPEndPoint endPoint) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, FormatException, EventSourceException, SocketException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSocketExceptionpublic void Connect(java.lang.String hostname,
int port)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException,
OutOfMemoryException,
FormatException,
EventSourceException,
SocketException,
NullReferenceException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSocketExceptionNullReferenceExceptionpublic void Dispose()
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
IndexOutOfRangeException,
OutOfMemoryException,
ArrayTypeMismatchException,
ArgumentOutOfRangeException,
InvalidOperationException,
FormatException,
ArgumentNullException,
EventSourceException,
ObjectDisposedException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionArrayTypeMismatchExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionFormatExceptionArgumentNullExceptionEventSourceExceptionObjectDisposedExceptionpublic void DropMulticastGroup(IPAddress multicastAddr) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, SocketException, ArrayTypeMismatchException
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSocketExceptionArrayTypeMismatchExceptionpublic void DropMulticastGroup(IPAddress multicastAddr, int ifindex) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, IndexOutOfRangeException, ArgumentException, ArgumentOutOfRangeException, FormatException, InvalidOperationException, SocketException, NotSupportedException, OutOfMemoryException, EventSourceException, CultureNotFoundException, ArrayTypeMismatchException
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionIndexOutOfRangeExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidOperationExceptionSocketExceptionNotSupportedExceptionOutOfMemoryExceptionEventSourceExceptionCultureNotFoundExceptionArrayTypeMismatchExceptionpublic byte[] EndReceive(IAsyncResult asyncResult, JCORefOut<IPEndPoint> remoteEP) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, SocketException, TaskSchedulerException, TaskCanceledException, AggregateException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionSocketExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionpublic int EndSend(IAsyncResult asyncResult) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, TaskSchedulerException, TaskCanceledException, AggregateException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionpublic int getAvailable()
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
IndexOutOfRangeException,
OutOfMemoryException,
ArgumentOutOfRangeException,
InvalidOperationException,
FormatException,
ArgumentNullException,
EventSourceException,
SocketException
public Socket getClient() throws java.lang.Throwable
java.lang.Throwablepublic boolean getDontFragment()
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentNullException,
OutOfMemoryException,
InvalidOperationException,
PlatformNotSupportedException,
SocketException,
ArgumentOutOfRangeException,
ArgumentException,
CultureNotFoundException,
NotSupportedException
public boolean getEnableBroadcast()
throws java.lang.Throwable,
PlatformNotSupportedException,
ObjectDisposedException,
ArgumentNullException,
OutOfMemoryException,
ArgumentOutOfRangeException,
ArgumentException,
FormatException,
InvalidOperationException,
EventSourceException,
SocketException
public boolean getExclusiveAddressUse()
throws java.lang.Throwable,
PlatformNotSupportedException,
ObjectDisposedException,
ArgumentNullException,
OutOfMemoryException,
ArgumentOutOfRangeException,
ArgumentException,
FormatException,
InvalidOperationException,
EventSourceException,
SocketException
public 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,
PlatformNotSupportedException,
ObjectDisposedException,
ArgumentNullException,
OutOfMemoryException,
ArgumentOutOfRangeException,
ArgumentException,
FormatException,
InvalidOperationException,
EventSourceException,
SocketException,
NotSupportedException
public short getTtl()
throws java.lang.Throwable,
PlatformNotSupportedException,
ObjectDisposedException,
ArgumentNullException,
OutOfMemoryException,
ArgumentOutOfRangeException,
ArgumentException,
FormatException,
InvalidOperationException,
EventSourceException,
SocketException,
NotSupportedException
public void JoinMulticastGroup(int ifindex,
IPAddress multicastAddr)
throws java.lang.Throwable,
PlatformNotSupportedException,
ObjectDisposedException,
ArgumentNullException,
IndexOutOfRangeException,
ArgumentException,
ArgumentOutOfRangeException,
FormatException,
InvalidOperationException,
SocketException,
NotSupportedException,
OutOfMemoryException,
EventSourceException,
CultureNotFoundException,
ArrayTypeMismatchException
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionIndexOutOfRangeExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidOperationExceptionSocketExceptionNotSupportedExceptionOutOfMemoryExceptionEventSourceExceptionCultureNotFoundExceptionArrayTypeMismatchExceptionpublic void JoinMulticastGroup(IPAddress multicastAddr) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, SocketException, ArrayTypeMismatchException
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSocketExceptionArrayTypeMismatchExceptionpublic void JoinMulticastGroup(IPAddress multicastAddr, int timeToLive) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, NotSupportedException, CultureNotFoundException, InvalidOperationException, OutOfMemoryException, FormatException, EventSourceException, SocketException, ArrayTypeMismatchException
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionNotSupportedExceptionCultureNotFoundExceptionInvalidOperationExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSocketExceptionArrayTypeMismatchExceptionpublic void JoinMulticastGroup(IPAddress multicastAddr, IPAddress localAddress) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, InvalidOperationException, SocketException, ArgumentNullException, NotSupportedException, OutOfMemoryException, EventSourceException, CultureNotFoundException
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionFormatExceptionInvalidOperationExceptionSocketExceptionArgumentNullExceptionNotSupportedExceptionOutOfMemoryExceptionEventSourceExceptionCultureNotFoundExceptionpublic byte[] Receive(JCORefOut<IPEndPoint> remoteEP) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, SocketException, IndexOutOfRangeException
public int Send(byte[] dgram,
int bytes)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException,
SocketException,
IndexOutOfRangeException
public int Send(byte[] dgram,
int bytes,
IPEndPoint endPoint)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException,
SocketException,
IndexOutOfRangeException
public int Send(byte[] dgram,
int bytes,
java.lang.String hostname,
int port)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException,
IndexOutOfRangeException,
OutOfMemoryException,
FormatException,
EventSourceException,
SocketException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSocketExceptionpublic int Send(JCORefOut dupParam0, int dupParam1) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, SocketException, IndexOutOfRangeException
public int Send(JCORefOut dupParam0, int dupParam1, IPEndPoint dupParam2) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, SocketException, IndexOutOfRangeException
public int Send(JCORefOut dupParam0, int dupParam1, java.lang.String dupParam2, int dupParam3) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, SocketException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSocketExceptionpublic void setClient(Socket Client) throws java.lang.Throwable
java.lang.Throwablepublic void setDontFragment(boolean DontFragment)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
OutOfMemoryException,
SocketException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionSocketExceptionpublic void setEnableBroadcast(boolean EnableBroadcast)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
OutOfMemoryException,
FormatException,
EventSourceException,
SocketException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSocketExceptionpublic void setExclusiveAddressUse(boolean ExclusiveAddressUse)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException,
OutOfMemoryException,
FormatException,
EventSourceException,
SocketException,
ArrayTypeMismatchException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSocketExceptionArrayTypeMismatchExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic void setMulticastLoopback(boolean MulticastLoopback)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
OutOfMemoryException,
FormatException,
EventSourceException,
SocketException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSocketExceptionpublic void setTtl(short Ttl)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException,
EventSourceException,
SocketException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionEventSourceExceptionSocketException