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, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System
|
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) |
Task |
ConnectAsync(IPAddress address,
int port) |
Task |
ConnectAsync(java.lang.String host,
int port) |
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,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
ConfigurationException,
ConfigurationErrorsException,
MissingManifestResourceException,
InvalidCastException,
MulticastNotSupportedException,
InvalidOperationException,
OutOfMemoryException,
IndexOutOfRangeException,
SocketException,
SecurityException,
ObjectDisposedException,
NotSupportedException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionConfigurationExceptionConfigurationErrorsExceptionMissingManifestResourceExceptionInvalidCastExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionSocketExceptionSecurityExceptionObjectDisposedExceptionNotSupportedExceptionpublic TcpClient(AddressFamily family) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, ConfigurationException, ConfigurationErrorsException, OverflowException, MulticastNotSupportedException, InvalidOperationException, OutOfMemoryException, IndexOutOfRangeException, SocketException, SecurityException, ObjectDisposedException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionOverflowExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionSocketExceptionSecurityExceptionObjectDisposedExceptionpublic TcpClient(IPEndPoint localEP) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, ConfigurationException, ConfigurationErrorsException, OverflowException, MulticastNotSupportedException, InvalidOperationException, OutOfMemoryException, NotImplementedException, IndexOutOfRangeException, SocketException, SecurityException, ObjectDisposedException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionOverflowExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionNotImplementedExceptionIndexOutOfRangeExceptionSocketExceptionSecurityExceptionObjectDisposedExceptionpublic TcpClient(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic TcpClient(java.lang.String hostname,
int port)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
NotSupportedException,
ConfigurationException,
ConfigurationErrorsException,
OverflowException,
MulticastNotSupportedException,
InvalidOperationException,
OutOfMemoryException,
ObjectDisposedException,
IndexOutOfRangeException,
SocketException,
FormatException,
NotImplementedException,
AccessViolationException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionOverflowExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionObjectDisposedExceptionIndexOutOfRangeExceptionSocketExceptionFormatExceptionNotImplementedExceptionAccessViolationExceptionpublic IAsyncResult BeginConnect(IPAddress[] addresses, int port, AsyncCallback requestCallback, NetObject state) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, ConfigurationException, ConfigurationErrorsException, OverflowException, MulticastNotSupportedException, InvalidOperationException, OutOfMemoryException, ObjectDisposedException, SocketException, NotImplementedException, AccessViolationException, SecurityException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionOverflowExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionObjectDisposedExceptionSocketExceptionNotImplementedExceptionAccessViolationExceptionSecurityExceptionpublic IAsyncResult BeginConnect(IPAddress address, int port, AsyncCallback requestCallback, NetObject state) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, ConfigurationException, ConfigurationErrorsException, OverflowException, MulticastNotSupportedException, InvalidOperationException, OutOfMemoryException, ObjectDisposedException, SocketException, NotImplementedException, IndexOutOfRangeException, FormatException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionOverflowExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionObjectDisposedExceptionSocketExceptionNotImplementedExceptionIndexOutOfRangeExceptionFormatExceptionpublic IAsyncResult BeginConnect(java.lang.String host, int port, AsyncCallback requestCallback, NetObject state) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, ConfigurationException, ConfigurationErrorsException, OverflowException, MulticastNotSupportedException, InvalidOperationException, OutOfMemoryException, ObjectDisposedException, SocketException, NotImplementedException, IndexOutOfRangeException, FormatException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionOverflowExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionObjectDisposedExceptionSocketExceptionNotImplementedExceptionIndexOutOfRangeExceptionFormatExceptionpublic 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,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
NotSupportedException,
ConfigurationException,
ConfigurationErrorsException,
OverflowException,
MulticastNotSupportedException,
InvalidOperationException,
OutOfMemoryException
public void Connect(IPAddress[] ipAddresses, int port) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, ConfigurationException, ConfigurationErrorsException, OverflowException, MulticastNotSupportedException, InvalidOperationException, OutOfMemoryException, ObjectDisposedException, SocketException, NotImplementedException, IndexOutOfRangeException, FormatException, AccessViolationException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionOverflowExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionObjectDisposedExceptionSocketExceptionNotImplementedExceptionIndexOutOfRangeExceptionFormatExceptionAccessViolationExceptionpublic void Connect(IPAddress address, int port) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, ConfigurationException, ConfigurationErrorsException, OverflowException, MulticastNotSupportedException, InvalidOperationException, OutOfMemoryException, ObjectDisposedException, NotImplementedException, SocketException, IndexOutOfRangeException, FormatException, AccessViolationException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionOverflowExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionObjectDisposedExceptionNotImplementedExceptionSocketExceptionIndexOutOfRangeExceptionFormatExceptionAccessViolationExceptionpublic void Connect(IPEndPoint remoteEP) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, ConfigurationException, ConfigurationErrorsException, OverflowException, MulticastNotSupportedException, InvalidOperationException, OutOfMemoryException, ObjectDisposedException, NotImplementedException, SocketException, IndexOutOfRangeException, FormatException, AccessViolationException, PlatformNotSupportedException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionOverflowExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionObjectDisposedExceptionNotImplementedExceptionSocketExceptionIndexOutOfRangeExceptionFormatExceptionAccessViolationExceptionPlatformNotSupportedExceptionpublic void Connect(java.lang.String hostname,
int port)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
NotSupportedException,
ConfigurationException,
ConfigurationErrorsException,
OverflowException,
MulticastNotSupportedException,
InvalidOperationException,
OutOfMemoryException,
ObjectDisposedException,
IndexOutOfRangeException,
SocketException,
FormatException,
NotImplementedException,
AccessViolationException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionOverflowExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionObjectDisposedExceptionIndexOutOfRangeExceptionSocketExceptionFormatExceptionNotImplementedExceptionAccessViolationExceptionpublic Task ConnectAsync(IPAddress[] addresses, int port) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, ConfigurationException, ConfigurationErrorsException, MissingManifestResourceException, InvalidCastException, MulticastNotSupportedException, InvalidOperationException, OutOfMemoryException, ObjectDisposedException, NotSupportedException, SocketException, NotImplementedException, WaitHandleCannotBeOpenedException, AccessViolationException, TaskSchedulerException, EventSourceException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionConfigurationExceptionConfigurationErrorsExceptionMissingManifestResourceExceptionInvalidCastExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionObjectDisposedExceptionNotSupportedExceptionSocketExceptionNotImplementedExceptionWaitHandleCannotBeOpenedExceptionAccessViolationExceptionTaskSchedulerExceptionEventSourceExceptionpublic Task ConnectAsync(IPAddress address, int port) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, ConfigurationException, ConfigurationErrorsException, MissingManifestResourceException, InvalidCastException, MulticastNotSupportedException, InvalidOperationException, OutOfMemoryException, ObjectDisposedException, NotSupportedException, SocketException, NotImplementedException, IndexOutOfRangeException, FormatException, TaskSchedulerException, EventSourceException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionConfigurationExceptionConfigurationErrorsExceptionMissingManifestResourceExceptionInvalidCastExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionObjectDisposedExceptionNotSupportedExceptionSocketExceptionNotImplementedExceptionIndexOutOfRangeExceptionFormatExceptionTaskSchedulerExceptionEventSourceExceptionpublic Task ConnectAsync(java.lang.String host, int port) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, ConfigurationException, ConfigurationErrorsException, MissingManifestResourceException, InvalidCastException, MulticastNotSupportedException, InvalidOperationException, OutOfMemoryException, ObjectDisposedException, NotSupportedException, NotImplementedException, SocketException, IndexOutOfRangeException, FormatException, TaskSchedulerException, EventSourceException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionConfigurationExceptionConfigurationErrorsExceptionMissingManifestResourceExceptionInvalidCastExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionObjectDisposedExceptionNotSupportedExceptionNotImplementedExceptionSocketExceptionIndexOutOfRangeExceptionFormatExceptionTaskSchedulerExceptionEventSourceExceptionpublic void Dispose()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
ConfigurationException,
ConfigurationErrorsException,
MissingManifestResourceException,
InvalidCastException,
MulticastNotSupportedException,
InvalidOperationException,
OutOfMemoryException
public void EndConnect(IAsyncResult asyncResult) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, ConfigurationException, ConfigurationErrorsException, OverflowException, MulticastNotSupportedException, InvalidOperationException, OutOfMemoryException, ObjectDisposedException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, AbandonedMutexException, IndexOutOfRangeException, NotImplementedException, SocketException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionOverflowExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionObjectDisposedExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionAbandonedMutexExceptionIndexOutOfRangeExceptionNotImplementedExceptionSocketExceptionpublic int getAvailable()
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentNullException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
ArgumentException,
ConfigurationErrorsException,
MulticastNotSupportedException,
InvalidOperationException,
OutOfMemoryException,
FileNotFoundException,
DirectoryNotFoundException,
UnauthorizedAccessException,
IOException,
PathTooLongException,
DriveNotFoundException,
OperationCanceledException
java.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionArgumentExceptionConfigurationErrorsExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionpublic Socket getClient() throws java.lang.Throwable
java.lang.Throwablepublic boolean getConnected()
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
ArgumentException,
ArgumentNullException,
ConfigurationErrorsException,
MulticastNotSupportedException,
OutOfMemoryException,
FileNotFoundException,
DirectoryNotFoundException,
UnauthorizedAccessException,
IOException,
PathTooLongException,
DriveNotFoundException,
OperationCanceledException
java.lang.ThrowableObjectDisposedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionArgumentExceptionArgumentNullExceptionConfigurationErrorsExceptionMulticastNotSupportedExceptionOutOfMemoryExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionpublic boolean getExclusiveAddressUse()
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
ArgumentException,
ArgumentNullException,
OutOfMemoryException,
MissingManifestResourceException,
NotImplementedException,
InvalidOperationException,
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, ObjectDisposedException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, ArgumentNullException, ConfigurationErrorsException, MulticastNotSupportedException, OutOfMemoryException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, NotImplementedException, MissingManifestResourceException, InvalidOperationException, SocketException
java.lang.ThrowableObjectDisposedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionArgumentExceptionArgumentNullExceptionConfigurationErrorsExceptionMulticastNotSupportedExceptionOutOfMemoryExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionNotImplementedExceptionMissingManifestResourceExceptionInvalidOperationExceptionSocketExceptionpublic boolean getNoDelay()
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
ArgumentException,
ArgumentNullException,
OutOfMemoryException,
MissingManifestResourceException,
NotImplementedException,
InvalidOperationException,
SocketException
public int getReceiveBufferSize()
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
ArgumentException,
ArgumentNullException,
OutOfMemoryException,
MissingManifestResourceException,
NotImplementedException,
InvalidOperationException,
SocketException
public int getReceiveTimeout()
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
ArgumentException,
ArgumentNullException,
OutOfMemoryException,
MissingManifestResourceException,
NotImplementedException,
InvalidOperationException,
SocketException
public int getSendBufferSize()
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
ArgumentException,
ArgumentNullException,
OutOfMemoryException,
MissingManifestResourceException,
NotImplementedException,
InvalidOperationException,
SocketException
public int getSendTimeout()
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
ArgumentException,
ArgumentNullException,
OutOfMemoryException,
MissingManifestResourceException,
NotImplementedException,
InvalidOperationException,
SocketException
public NetworkStream GetStream() throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, ConfigurationException, ConfigurationErrorsException, OverflowException, MulticastNotSupportedException, InvalidOperationException, OutOfMemoryException, ObjectDisposedException, IndexOutOfRangeException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionOverflowExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionpublic void setClient(Socket Client) throws java.lang.Throwable
java.lang.Throwablepublic void setExclusiveAddressUse(boolean ExclusiveAddressUse)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
IndexOutOfRangeException,
OutOfMemoryException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic void setLingerState(LingerOption LingerState) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, IndexOutOfRangeException, ConfigurationErrorsException, MulticastNotSupportedException, OutOfMemoryException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, SocketException
java.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionIndexOutOfRangeExceptionConfigurationErrorsExceptionMulticastNotSupportedExceptionOutOfMemoryExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionSocketExceptionpublic void setNoDelay(boolean NoDelay)
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
ArgumentException,
ArgumentNullException,
ConfigurationErrorsException,
MulticastNotSupportedException,
OutOfMemoryException,
FileNotFoundException,
DirectoryNotFoundException,
UnauthorizedAccessException,
IOException,
PathTooLongException,
DriveNotFoundException,
OperationCanceledException
java.lang.ThrowableObjectDisposedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionArgumentExceptionArgumentNullExceptionConfigurationErrorsExceptionMulticastNotSupportedExceptionOutOfMemoryExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionpublic void setReceiveBufferSize(int ReceiveBufferSize)
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
ArgumentException,
ArgumentNullException,
ConfigurationErrorsException,
MulticastNotSupportedException,
OutOfMemoryException,
FileNotFoundException,
DirectoryNotFoundException,
UnauthorizedAccessException,
IOException,
PathTooLongException,
DriveNotFoundException,
OperationCanceledException
java.lang.ThrowableObjectDisposedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionArgumentExceptionArgumentNullExceptionConfigurationErrorsExceptionMulticastNotSupportedExceptionOutOfMemoryExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionpublic void setReceiveTimeout(int ReceiveTimeout)
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
ArgumentException,
ArgumentNullException,
ConfigurationErrorsException,
MulticastNotSupportedException,
OutOfMemoryException,
FileNotFoundException,
DirectoryNotFoundException,
UnauthorizedAccessException,
IOException,
PathTooLongException,
DriveNotFoundException,
OperationCanceledException
java.lang.ThrowableObjectDisposedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionArgumentExceptionArgumentNullExceptionConfigurationErrorsExceptionMulticastNotSupportedExceptionOutOfMemoryExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionpublic void setSendBufferSize(int SendBufferSize)
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
ArgumentException,
ArgumentNullException,
ConfigurationErrorsException,
MulticastNotSupportedException,
OutOfMemoryException,
FileNotFoundException,
DirectoryNotFoundException,
UnauthorizedAccessException,
IOException,
PathTooLongException,
DriveNotFoundException,
OperationCanceledException
java.lang.ThrowableObjectDisposedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionArgumentExceptionArgumentNullExceptionConfigurationErrorsExceptionMulticastNotSupportedExceptionOutOfMemoryExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionpublic void setSendTimeout(int SendTimeout)
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
ArgumentException,
ArgumentNullException,
ConfigurationErrorsException,
MulticastNotSupportedException,
OutOfMemoryException,
FileNotFoundException,
DirectoryNotFoundException,
UnauthorizedAccessException,
IOException,
PathTooLongException,
DriveNotFoundException,
OperationCanceledException
java.lang.ThrowableObjectDisposedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionArgumentExceptionArgumentNullExceptionConfigurationErrorsExceptionMulticastNotSupportedExceptionOutOfMemoryExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledException