public class TcpClient extends NetObject implements java.lang.AutoCloseable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Net.Sockets.TcpClient
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.TcpClient
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
TcpClient() |
TcpClient(AddressFamily family) |
TcpClient(IPEndPoint localEP) |
TcpClient(java.lang.Object instance)
Internal constructor.
|
TcpClient(java.lang.String hostname,
int port) |
| Modifier and Type | Method and Description |
|---|---|
IAsyncResult |
BeginConnect(IPAddress[] addresses,
int port,
AsyncCallback requestCallback,
NetObject state) |
IAsyncResult |
BeginConnect(IPAddress address,
int port,
AsyncCallback requestCallback,
NetObject state) |
IAsyncResult |
BeginConnect(java.lang.String host,
int port,
AsyncCallback requestCallback,
NetObject state) |
static TcpClient |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into TcpClient, a cast assert is made to check if types are compatible. |
void |
close() |
void |
Close() |
void |
Connect(IPAddress[] ipAddresses,
int port) |
void |
Connect(IPAddress address,
int port) |
void |
Connect(IPEndPoint remoteEP) |
void |
Connect(java.lang.String hostname,
int port) |
Task |
ConnectAsync(IPAddress[] addresses,
int port) |
ValueTask |
ConnectAsync(IPAddress[] addresses,
int port,
CancellationToken cancellationToken) |
Task |
ConnectAsync(IPAddress address,
int port) |
ValueTask |
ConnectAsync(IPAddress address,
int port,
CancellationToken cancellationToken) |
Task |
ConnectAsync(IPEndPoint remoteEP) |
ValueTask |
ConnectAsync(IPEndPoint remoteEP,
CancellationToken cancellationToken) |
Task |
ConnectAsync(java.lang.String host,
int port) |
ValueTask |
ConnectAsync(java.lang.String host,
int port,
CancellationToken cancellationToken) |
void |
Dispose() |
void |
EndConnect(IAsyncResult asyncResult) |
int |
getAvailable() |
Socket |
getClient() |
boolean |
getConnected() |
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
|
LingerOption |
getLingerState() |
boolean |
getNoDelay() |
int |
getReceiveBufferSize() |
int |
getReceiveTimeout() |
int |
getSendBufferSize() |
int |
getSendTimeout() |
NetworkStream |
GetStream() |
void |
setClient(Socket Client) |
void |
setExclusiveAddressUse(boolean ExclusiveAddressUse) |
void |
setJCOInstance(JCObject instance) |
void |
setLingerState(LingerOption LingerState) |
void |
setNoDelay(boolean NoDelay) |
void |
setReceiveBufferSize(int ReceiveBufferSize) |
void |
setReceiveTimeout(int ReceiveTimeout) |
void |
setSendBufferSize(int SendBufferSize) |
void |
setSendTimeout(int SendTimeout) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public TcpClient()
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
IndexOutOfRangeException,
OutOfMemoryException,
ArrayTypeMismatchException,
ArgumentOutOfRangeException,
InvalidOperationException,
FormatException,
EventSourceException,
CultureNotFoundException,
ObjectDisposedException,
SocketException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionArrayTypeMismatchExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionFormatExceptionEventSourceExceptionCultureNotFoundExceptionObjectDisposedExceptionSocketExceptionpublic TcpClient(AddressFamily family) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, IndexOutOfRangeException, OutOfMemoryException, ArrayTypeMismatchException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, FormatException, EventSourceException, KeyNotFoundException, ObjectDisposedException, SocketException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionArrayTypeMismatchExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionFormatExceptionEventSourceExceptionKeyNotFoundExceptionObjectDisposedExceptionSocketExceptionpublic TcpClient(IPEndPoint localEP) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, KeyNotFoundException, SocketException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionKeyNotFoundExceptionSocketExceptionpublic TcpClient(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic TcpClient(java.lang.String hostname,
int port)
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
IndexOutOfRangeException,
OutOfMemoryException,
ArrayTypeMismatchException,
ArgumentOutOfRangeException,
InvalidOperationException,
FormatException,
EventSourceException,
CultureNotFoundException,
ObjectDisposedException,
SocketException,
ArgumentNullException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionArrayTypeMismatchExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionFormatExceptionEventSourceExceptionCultureNotFoundExceptionObjectDisposedExceptionSocketExceptionArgumentNullExceptionpublic IAsyncResult BeginConnect(IPAddress[] addresses, int port, AsyncCallback requestCallback, NetObject state) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, SocketException, NotSupportedException
public IAsyncResult BeginConnect(IPAddress address, int port, AsyncCallback requestCallback, NetObject state) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ObjectDisposedException, ArgumentException, InvalidOperationException, SocketException, OutOfMemoryException, EventSourceException
public IAsyncResult BeginConnect(java.lang.String host, int port, AsyncCallback requestCallback, NetObject state) throws java.lang.Throwable, ArgumentNullException, NotSupportedException, InvalidOperationException, PlatformNotSupportedException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, OutOfMemoryException, FormatException, NullReferenceException, ObjectDisposedException, SocketException, EventSourceException
java.lang.ThrowableArgumentNullExceptionNotSupportedExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionNullReferenceExceptionObjectDisposedExceptionSocketExceptionEventSourceExceptionpublic static TcpClient cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into TcpClient, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedTcpClient 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,
ArgumentException,
PlatformNotSupportedException,
NullReferenceException,
ObjectDisposedException,
OutOfMemoryException,
FormatException,
InvalidOperationException,
ArgumentOutOfRangeException,
EventSourceException
public void Connect(IPAddress[] ipAddresses, int port) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, SocketException, IndexOutOfRangeException, OutOfMemoryException, FormatException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionSocketExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionpublic void Connect(IPAddress address, int port) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, SocketException, OutOfMemoryException, FormatException, EventSourceException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionSocketExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionpublic void Connect(IPEndPoint remoteEP) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, SocketException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionSocketExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionpublic void Connect(java.lang.String hostname,
int port)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException,
IndexOutOfRangeException,
OutOfMemoryException,
FormatException,
SocketException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionSocketExceptionpublic Task ConnectAsync(IPAddress[] addresses, int port) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, SocketException, NotSupportedException, NullReferenceException
public ValueTask ConnectAsync(IPAddress[] addresses, int port, CancellationToken cancellationToken) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, ObjectDisposedException, ArgumentOutOfRangeException, InvalidOperationException, SocketException, ArgumentNullException
public Task ConnectAsync(IPAddress address, int port) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NullReferenceException, ObjectDisposedException, InvalidOperationException, SocketException
public ValueTask ConnectAsync(IPAddress address, int port, CancellationToken cancellationToken) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NullReferenceException, ObjectDisposedException, InvalidOperationException, SocketException, FormatException
public Task ConnectAsync(IPEndPoint remoteEP) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ObjectDisposedException, ArgumentException, InvalidOperationException, SocketException, FormatException
public ValueTask ConnectAsync(IPEndPoint remoteEP, CancellationToken cancellationToken) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, NullReferenceException, InvalidOperationException, OutOfMemoryException, ObjectDisposedException, SocketException, FormatException, ArrayTypeMismatchException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionNullReferenceExceptionInvalidOperationExceptionOutOfMemoryExceptionObjectDisposedExceptionSocketExceptionFormatExceptionArrayTypeMismatchExceptionpublic Task ConnectAsync(java.lang.String host, int port) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, NullReferenceException, ObjectDisposedException, SocketException
public ValueTask ConnectAsync(java.lang.String host, int port, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, NullReferenceException, ObjectDisposedException, SocketException
public void Dispose()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NullReferenceException,
ObjectDisposedException,
OutOfMemoryException,
FormatException,
EventSourceException
public void EndConnect(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 getConnected()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException,
OutOfMemoryException,
ArgumentOutOfRangeException,
InvalidOperationException,
FormatException,
EventSourceException,
ObjectDisposedException,
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 LingerOption getLingerState() throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, OutOfMemoryException, ArgumentOutOfRangeException, ArgumentException, FormatException, InvalidOperationException, EventSourceException, SocketException
public boolean getNoDelay()
throws java.lang.Throwable,
PlatformNotSupportedException,
ObjectDisposedException,
ArgumentNullException,
OutOfMemoryException,
ArgumentOutOfRangeException,
ArgumentException,
FormatException,
InvalidOperationException,
EventSourceException,
SocketException
public int getReceiveBufferSize()
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
OutOfMemoryException,
InvalidOperationException,
FormatException,
ArgumentOutOfRangeException,
EventSourceException,
SocketException,
ArrayTypeMismatchException,
ArgumentNullException
public int getReceiveTimeout()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException,
OutOfMemoryException,
FormatException,
EventSourceException,
SocketException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSocketExceptionpublic int getSendBufferSize()
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
OutOfMemoryException,
InvalidOperationException,
FormatException,
ArgumentOutOfRangeException,
EventSourceException,
SocketException,
ArrayTypeMismatchException,
ArgumentNullException
public int getSendTimeout()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException,
OutOfMemoryException,
FormatException,
EventSourceException,
SocketException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSocketExceptionpublic NetworkStream GetStream() throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, OutOfMemoryException, ArrayTypeMismatchException, ArgumentException, InvalidOperationException, FormatException, ArgumentOutOfRangeException, EventSourceException, NotSupportedException, SocketException, CultureNotFoundException, IOException
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionOutOfMemoryExceptionArrayTypeMismatchExceptionArgumentExceptionInvalidOperationExceptionFormatExceptionArgumentOutOfRangeExceptionEventSourceExceptionNotSupportedExceptionSocketExceptionCultureNotFoundExceptionIOExceptionpublic void setClient(Socket Client) throws java.lang.Throwable, PlatformNotSupportedException, OutOfMemoryException, ArrayTypeMismatchException, ArgumentException, InvalidOperationException, FormatException, EventSourceException, SocketException, ObjectDisposedException, NotSupportedException
public 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 setLingerState(LingerOption LingerState) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, FormatException, EventSourceException, SocketException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSocketExceptionpublic void setNoDelay(boolean NoDelay)
throws java.lang.Throwable,
PlatformNotSupportedException,
ObjectDisposedException,
ArgumentNullException,
OutOfMemoryException,
ArgumentException,
InvalidOperationException,
FormatException,
ArgumentOutOfRangeException,
EventSourceException,
NotSupportedException,
SocketException,
ArrayTypeMismatchException
public void setReceiveBufferSize(int ReceiveBufferSize)
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
IndexOutOfRangeException,
OutOfMemoryException,
ArgumentOutOfRangeException,
InvalidOperationException,
FormatException,
ArgumentNullException,
EventSourceException,
SocketException,
ArrayTypeMismatchException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionObjectDisposedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionFormatExceptionArgumentNullExceptionEventSourceExceptionSocketExceptionArrayTypeMismatchExceptionpublic void setReceiveTimeout(int ReceiveTimeout)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException,
IndexOutOfRangeException,
OutOfMemoryException,
FormatException,
EventSourceException,
SocketException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSocketExceptionpublic void setSendBufferSize(int SendBufferSize)
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
IndexOutOfRangeException,
OutOfMemoryException,
ArgumentOutOfRangeException,
InvalidOperationException,
FormatException,
ArgumentNullException,
EventSourceException,
SocketException,
ArrayTypeMismatchException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionObjectDisposedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionFormatExceptionArgumentNullExceptionEventSourceExceptionSocketExceptionArrayTypeMismatchExceptionpublic void setSendTimeout(int SendTimeout)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException,
IndexOutOfRangeException,
OutOfMemoryException,
FormatException,
EventSourceException,
SocketException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSocketException