Package system.net.sockets
Class UdpClient
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.net.sockets.UdpClient
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,IJCOBridgeReflected
public class UdpClient extends NetObject implements java.lang.AutoCloseable
The base .NET class managing System.Net.Sockets.UdpClient, System.Net.Sockets, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..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
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: System.Net.Sockets, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.Net.Socketsstatic java.lang.String
className
Qualified class name: System.Net.Sockets.UdpClientstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description UdpClient()
UdpClient(int port)
UdpClient(int port, AddressFamily family)
UdpClient(java.lang.Object instance)
Internal constructor.UdpClient(java.lang.String hostname, int port)
UdpClient(IPEndPoint localEP)
UdpClient(AddressFamily family)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
AllowNatTraversal(boolean allowed)
IAsyncResult
BeginReceive(AsyncCallback requestCallback, NetObject state)
IAsyncResult
BeginSend(byte[] datagram, int bytes, java.lang.String hostname, int port, 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(JCORefOut dupParam0, int dupParam1, java.lang.String dupParam2, int dupParam3, AsyncCallback dupParam4, NetObject dupParam5)
IAsyncResult
BeginSend(JCORefOut dupParam0, int dupParam1, AsyncCallback dupParam2, NetObject dupParam3)
IAsyncResult
BeginSend(JCORefOut dupParam0, int dupParam1, IPEndPoint dupParam2, AsyncCallback dupParam3, NetObject dupParam4)
static UdpClient
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoUdpClient
, a cast assert is made to check if types are compatible.void
close()
void
Close()
void
Connect(java.lang.String hostname, int port)
void
Connect(IPAddress addr, int port)
void
Connect(IPEndPoint endPoint)
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 namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typeboolean
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, java.lang.String hostname, int port)
int
Send(byte[] dgram, int bytes, IPEndPoint endPoint)
int
Send(JCORefOut dupParam0, int dupParam1)
int
Send(JCORefOut dupParam0, int dupParam1, java.lang.String dupParam2, int dupParam3)
int
Send(JCORefOut dupParam0, int dupParam1, IPEndPoint dupParam2)
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)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Net.Sockets, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Net.Sockets- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Net.Sockets.UdpClient- See Also:
- Constant Field Values
-
-
Constructor Detail
-
UdpClient
public UdpClient(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
UdpClient
public UdpClient() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, FormatException, EventSourceException, SocketException
-
UdpClient
public UdpClient(int port, AddressFamily family) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, SocketException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
IndexOutOfRangeException
OutOfMemoryException
FormatException
EventSourceException
SocketException
-
UdpClient
public UdpClient(int port) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, OutOfMemoryException, EventSourceException, SocketException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
FormatException
OutOfMemoryException
EventSourceException
SocketException
-
UdpClient
public UdpClient(IPEndPoint localEP) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, SocketException, CultureNotFoundException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
IndexOutOfRangeException
OutOfMemoryException
FormatException
EventSourceException
SocketException
CultureNotFoundException
-
UdpClient
public UdpClient(AddressFamily family) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, OutOfMemoryException, NotSupportedException, FormatException, EventSourceException, SocketException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
IndexOutOfRangeException
OutOfMemoryException
NotSupportedException
FormatException
EventSourceException
SocketException
-
UdpClient
public 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
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
IndexOutOfRangeException
FormatException
OutOfMemoryException
EventSourceException
SocketException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static UdpClient cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoUdpClient
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
UdpClient
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
EndReceive
public byte[] EndReceive(IAsyncResult asyncResult, JCORefOut<IPEndPoint> remoteEP) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, SocketException, ArgumentNullException, IndexOutOfRangeException, TaskSchedulerException, TaskCanceledException, AggregateException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
PlatformNotSupportedException
SocketException
ArgumentNullException
IndexOutOfRangeException
TaskSchedulerException
TaskCanceledException
AggregateException
-
Receive
public byte[] Receive(JCORefOut<IPEndPoint> remoteEP) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException, PlatformNotSupportedException, SocketException, IndexOutOfRangeException, ArrayTypeMismatchException
-
EndSend
public int EndSend(IAsyncResult asyncResult) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, TaskSchedulerException, PlatformNotSupportedException, TaskCanceledException, AggregateException
-
Send
public int Send(byte[] dgram, int bytes, IPEndPoint endPoint) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException, PlatformNotSupportedException, SocketException, IndexOutOfRangeException, ArrayTypeMismatchException
-
Send
public int Send(JCORefOut dupParam0, int dupParam1, IPEndPoint dupParam2) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException, PlatformNotSupportedException, SocketException, IndexOutOfRangeException, ArrayTypeMismatchException
-
Send
public 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
-
Send
public 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
-
Send
public int Send(byte[] dgram, int bytes) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException, PlatformNotSupportedException, SocketException, IndexOutOfRangeException, ArrayTypeMismatchException
-
Send
public int Send(JCORefOut dupParam0, int dupParam1) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException, PlatformNotSupportedException, SocketException, IndexOutOfRangeException, ArrayTypeMismatchException
-
BeginReceive
public IAsyncResult BeginReceive(AsyncCallback requestCallback, NetObject state) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException, PlatformNotSupportedException, FormatException, SocketException, ArrayTypeMismatchException, OutOfMemoryException, EventSourceException, TaskSchedulerException, OperationCanceledException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
ArgumentNullException
PlatformNotSupportedException
FormatException
SocketException
ArrayTypeMismatchException
OutOfMemoryException
EventSourceException
TaskSchedulerException
OperationCanceledException
-
BeginSend
public IAsyncResult BeginSend(byte[] datagram, int bytes, AsyncCallback requestCallback, NetObject state) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, CultureNotFoundException, NotSupportedException, SocketException
-
BeginSend
public IAsyncResult BeginSend(JCORefOut dupParam0, int dupParam1, AsyncCallback dupParam2, NetObject dupParam3) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, CultureNotFoundException, NotSupportedException, SocketException
-
BeginSend
public 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
-
BeginSend
public 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
-
BeginSend
public 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
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
IndexOutOfRangeException
FormatException
OutOfMemoryException
EventSourceException
SocketException
NotSupportedException
-
BeginSend
public 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
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
IndexOutOfRangeException
FormatException
OutOfMemoryException
EventSourceException
SocketException
NotSupportedException
-
AllowNatTraversal
public void AllowNatTraversal(boolean allowed) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, FormatException, EventSourceException, SocketException, NotSupportedException
-
Close
public void Close() throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, InvalidOperationException, ArgumentException, FormatException, ArgumentNullException, ArgumentOutOfRangeException, EventSourceException, ObjectDisposedException
-
Connect
public void Connect(IPAddress addr, int port) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, OutOfMemoryException, PlatformNotSupportedException, FormatException, ArgumentNullException, EventSourceException, SocketException
-
Connect
public void Connect(IPEndPoint endPoint) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, ArgumentNullException, EventSourceException, ArrayTypeMismatchException, SocketException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
PlatformNotSupportedException
IndexOutOfRangeException
OutOfMemoryException
FormatException
ArgumentNullException
EventSourceException
ArrayTypeMismatchException
SocketException
-
Connect
public 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
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
PlatformNotSupportedException
IndexOutOfRangeException
FormatException
OutOfMemoryException
ArgumentNullException
EventSourceException
SocketException
ArrayTypeMismatchException
-
Dispose
public void Dispose() throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, InvalidOperationException, ArgumentException, FormatException, ArgumentNullException, ArgumentOutOfRangeException, EventSourceException, ObjectDisposedException
-
DropMulticastGroup
public void DropMulticastGroup(IPAddress multicastAddr, int ifindex) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, SocketException, OutOfMemoryException, EventSourceException, ArrayTypeMismatchException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
FormatException
SocketException
OutOfMemoryException
EventSourceException
ArrayTypeMismatchException
-
DropMulticastGroup
public void DropMulticastGroup(IPAddress multicastAddr) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, OutOfMemoryException, EventSourceException, SocketException, ArrayTypeMismatchException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
FormatException
OutOfMemoryException
EventSourceException
SocketException
ArrayTypeMismatchException
-
JoinMulticastGroup
public void JoinMulticastGroup(int ifindex, IPAddress multicastAddr) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, SocketException, OutOfMemoryException, EventSourceException, ArrayTypeMismatchException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
FormatException
SocketException
OutOfMemoryException
EventSourceException
ArrayTypeMismatchException
-
JoinMulticastGroup
public void JoinMulticastGroup(IPAddress multicastAddr, int timeToLive) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, OutOfMemoryException, EventSourceException, SocketException, ArrayTypeMismatchException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
FormatException
OutOfMemoryException
EventSourceException
SocketException
ArrayTypeMismatchException
-
JoinMulticastGroup
public void JoinMulticastGroup(IPAddress multicastAddr, IPAddress localAddress) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, IndexOutOfRangeException, FormatException, SocketException, PlatformNotSupportedException, OutOfMemoryException, ArgumentNullException, EventSourceException, ArrayTypeMismatchException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
IndexOutOfRangeException
FormatException
SocketException
PlatformNotSupportedException
OutOfMemoryException
ArgumentNullException
EventSourceException
ArrayTypeMismatchException
-
JoinMulticastGroup
public void JoinMulticastGroup(IPAddress multicastAddr) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, OutOfMemoryException, EventSourceException, SocketException, ArrayTypeMismatchException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
FormatException
OutOfMemoryException
EventSourceException
SocketException
ArrayTypeMismatchException
-
close
public void close() throws java.lang.Exception
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Throws:
java.lang.Exception
-
getDontFragment
public boolean getDontFragment() throws java.lang.Throwable, ObjectDisposedException, PlatformNotSupportedException, ArgumentNullException, OutOfMemoryException, ArgumentOutOfRangeException, ArgumentException, FormatException, InvalidOperationException, EventSourceException, SocketException, NotSupportedException
-
setDontFragment
public void setDontFragment(boolean DontFragment) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, InvalidOperationException, ArgumentException, FormatException, ArgumentOutOfRangeException, EventSourceException, ArrayTypeMismatchException, SocketException, NotSupportedException
- Throws:
java.lang.Throwable
ObjectDisposedException
ArgumentNullException
PlatformNotSupportedException
IndexOutOfRangeException
OutOfMemoryException
InvalidOperationException
ArgumentException
FormatException
ArgumentOutOfRangeException
EventSourceException
ArrayTypeMismatchException
SocketException
NotSupportedException
-
getEnableBroadcast
public boolean getEnableBroadcast() throws java.lang.Throwable, ObjectDisposedException, PlatformNotSupportedException, ArgumentNullException, OutOfMemoryException, ArgumentOutOfRangeException, ArgumentException, FormatException, InvalidOperationException, EventSourceException, SocketException
-
setEnableBroadcast
public void setEnableBroadcast(boolean EnableBroadcast) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, InvalidOperationException, ArgumentException, FormatException, ArgumentOutOfRangeException, EventSourceException, ArrayTypeMismatchException, SocketException
- Throws:
java.lang.Throwable
ObjectDisposedException
ArgumentNullException
PlatformNotSupportedException
IndexOutOfRangeException
OutOfMemoryException
InvalidOperationException
ArgumentException
FormatException
ArgumentOutOfRangeException
EventSourceException
ArrayTypeMismatchException
SocketException
-
getExclusiveAddressUse
public boolean getExclusiveAddressUse() throws java.lang.Throwable, ObjectDisposedException, PlatformNotSupportedException, ArgumentNullException, OutOfMemoryException, ArgumentOutOfRangeException, ArgumentException, FormatException, InvalidOperationException, EventSourceException, SocketException
-
setExclusiveAddressUse
public void setExclusiveAddressUse(boolean ExclusiveAddressUse) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, ArrayTypeMismatchException, SocketException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
IndexOutOfRangeException
OutOfMemoryException
FormatException
EventSourceException
ArrayTypeMismatchException
SocketException
-
getMulticastLoopback
public boolean getMulticastLoopback() throws java.lang.Throwable, ObjectDisposedException, PlatformNotSupportedException, ArgumentNullException, OutOfMemoryException, ArgumentOutOfRangeException, ArgumentException, FormatException, InvalidOperationException, EventSourceException, SocketException, NotSupportedException
-
setMulticastLoopback
public void setMulticastLoopback(boolean MulticastLoopback) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, InvalidOperationException, ArgumentException, FormatException, ArgumentOutOfRangeException, EventSourceException, ArrayTypeMismatchException, SocketException, NotSupportedException
- Throws:
java.lang.Throwable
ObjectDisposedException
ArgumentNullException
PlatformNotSupportedException
IndexOutOfRangeException
OutOfMemoryException
InvalidOperationException
ArgumentException
FormatException
ArgumentOutOfRangeException
EventSourceException
ArrayTypeMismatchException
SocketException
NotSupportedException
-
getTtl
public short getTtl() throws java.lang.Throwable, ObjectDisposedException, PlatformNotSupportedException, ArgumentNullException, OutOfMemoryException, ArgumentOutOfRangeException, ArgumentException, FormatException, InvalidOperationException, EventSourceException, SocketException, NotSupportedException
-
setTtl
public void setTtl(short Ttl) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException, OutOfMemoryException, EventSourceException, SocketException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
IndexOutOfRangeException
FormatException
OutOfMemoryException
EventSourceException
SocketException
-
getAvailable
public int getAvailable() throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, InvalidOperationException, FormatException, ArgumentOutOfRangeException, ArgumentNullException, EventSourceException, SocketException
-
getClient
public Socket getClient() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setClient
public void setClient(Socket Client) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-