Package system.net.sockets
Class TcpClient
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.net.sockets.TcpClient
-
- All Implemented Interfaces:
java.lang.AutoCloseable,IJCOBridgeReflected
public class TcpClient extends NetObject implements java.lang.AutoCloseable
The base .NET class managing System.Net.Sockets.TcpClient, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..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
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: Systemstatic java.lang.StringclassNameQualified class name: System.Net.Sockets.TcpClientstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description TcpClient()TcpClient(java.lang.Object instance)Internal constructor.TcpClient(java.lang.String hostname, int port)TcpClient(IPEndPoint localEP)TcpClient(AddressFamily family)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IAsyncResultBeginConnect(java.lang.String host, int port, AsyncCallback requestCallback, NetObject state)IAsyncResultBeginConnect(IPAddress[] addresses, int port, AsyncCallback requestCallback, NetObject state)IAsyncResultBeginConnect(IPAddress address, int port, AsyncCallback requestCallback, NetObject state)static TcpClientcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoTcpClient, a cast assert is made to check if types are compatible.voidclose()voidClose()voidConnect(java.lang.String hostname, int port)voidConnect(IPAddress[] ipAddresses, int port)voidConnect(IPAddress address, int port)voidConnect(IPEndPoint remoteEP)TaskConnectAsync(java.lang.String host, int port)TaskConnectAsync(IPAddress[] addresses, int port)TaskConnectAsync(IPAddress address, int port)voidDispose()voidEndConnect(IAsyncResult asyncResult)intgetAvailable()SocketgetClient()booleangetConnected()booleangetExclusiveAddressUse()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypeLingerOptiongetLingerState()booleangetNoDelay()intgetReceiveBufferSize()intgetReceiveTimeout()intgetSendBufferSize()intgetSendTimeout()NetworkStreamGetStream()voidsetClient(Socket Client)voidsetExclusiveAddressUse(boolean ExclusiveAddressUse)voidsetJCOInstance(JCObject instance)voidsetLingerState(LingerOption LingerState)voidsetNoDelay(boolean NoDelay)voidsetReceiveBufferSize(int ReceiveBufferSize)voidsetReceiveTimeout(int ReceiveTimeout)voidsetSendBufferSize(int SendBufferSize)voidsetSendTimeout(int SendTimeout)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Net.Sockets.TcpClient- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TcpClient
public TcpClient(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
TcpClient
public TcpClient() throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, ConfigurationException, ConfigurationErrorsException, MissingManifestResourceException, InvalidCastException, MulticastNotSupportedException, InvalidOperationException, OutOfMemoryException, IndexOutOfRangeException, SocketException, SecurityException, ObjectDisposedException, NotSupportedException- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionConfigurationExceptionConfigurationErrorsExceptionMissingManifestResourceExceptionInvalidCastExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionSocketExceptionSecurityExceptionObjectDisposedExceptionNotSupportedException
-
TcpClient
public TcpClient(IPEndPoint localEP) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, ConfigurationException, ConfigurationErrorsException, OverflowException, MulticastNotSupportedException, InvalidOperationException, OutOfMemoryException, NotImplementedException, IndexOutOfRangeException, SocketException, SecurityException, ObjectDisposedException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionOverflowExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionNotImplementedExceptionIndexOutOfRangeExceptionSocketExceptionSecurityExceptionObjectDisposedException
-
TcpClient
public TcpClient(AddressFamily family) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, ConfigurationException, ConfigurationErrorsException, OverflowException, MulticastNotSupportedException, InvalidOperationException, OutOfMemoryException, IndexOutOfRangeException, SocketException, SecurityException, ObjectDisposedException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionOverflowExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionSocketExceptionSecurityExceptionObjectDisposedException
-
TcpClient
public 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- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionOverflowExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionObjectDisposedExceptionIndexOutOfRangeExceptionSocketExceptionFormatExceptionNotImplementedExceptionAccessViolationException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classNetObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static TcpClient cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoTcpClient, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
TcpClientinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
BeginConnect
public 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
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionOverflowExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionObjectDisposedExceptionSocketExceptionNotImplementedExceptionIndexOutOfRangeExceptionFormatException
-
BeginConnect
public 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
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionOverflowExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionObjectDisposedExceptionSocketExceptionNotImplementedExceptionAccessViolationExceptionSecurityException
-
BeginConnect
public 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
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionOverflowExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionObjectDisposedExceptionSocketExceptionNotImplementedExceptionIndexOutOfRangeExceptionFormatException
-
GetStream
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
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionOverflowExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledException
-
ConnectAsync
public 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
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionConfigurationExceptionConfigurationErrorsExceptionMissingManifestResourceExceptionInvalidCastExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionObjectDisposedExceptionNotSupportedExceptionSocketExceptionNotImplementedExceptionIndexOutOfRangeExceptionFormatExceptionTaskSchedulerExceptionEventSourceException
-
ConnectAsync
public 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
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionConfigurationExceptionConfigurationErrorsExceptionMissingManifestResourceExceptionInvalidCastExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionObjectDisposedExceptionNotSupportedExceptionSocketExceptionNotImplementedExceptionWaitHandleCannotBeOpenedExceptionAccessViolationExceptionTaskSchedulerExceptionEventSourceException
-
ConnectAsync
public 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
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionConfigurationExceptionConfigurationErrorsExceptionMissingManifestResourceExceptionInvalidCastExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionObjectDisposedExceptionNotSupportedExceptionNotImplementedExceptionSocketExceptionIndexOutOfRangeExceptionFormatExceptionTaskSchedulerExceptionEventSourceException
-
Close
public void Close() throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, ConfigurationException, ConfigurationErrorsException, OverflowException, MulticastNotSupportedException, InvalidOperationException, OutOfMemoryException
-
Connect
public 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
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionOverflowExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionObjectDisposedExceptionNotImplementedExceptionSocketExceptionIndexOutOfRangeExceptionFormatExceptionAccessViolationException
-
Connect
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
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionOverflowExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionObjectDisposedExceptionSocketExceptionNotImplementedExceptionIndexOutOfRangeExceptionFormatExceptionAccessViolationException
-
Connect
public 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
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionOverflowExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionObjectDisposedExceptionNotImplementedExceptionSocketExceptionIndexOutOfRangeExceptionFormatExceptionAccessViolationExceptionPlatformNotSupportedException
-
Connect
public 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- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionOverflowExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionObjectDisposedExceptionIndexOutOfRangeExceptionSocketExceptionFormatExceptionNotImplementedExceptionAccessViolationException
-
Dispose
public void Dispose() throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, ConfigurationException, ConfigurationErrorsException, MissingManifestResourceException, InvalidCastException, MulticastNotSupportedException, InvalidOperationException, OutOfMemoryException
-
EndConnect
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
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionConfigurationExceptionConfigurationErrorsExceptionOverflowExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionObjectDisposedExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionAbandonedMutexExceptionIndexOutOfRangeExceptionNotImplementedExceptionSocketException
-
close
public void close() throws java.lang.Exception- Specified by:
closein interfacejava.lang.AutoCloseable- Throws:
java.lang.Exception
-
getConnected
public boolean getConnected() throws java.lang.Throwable, ObjectDisposedException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, ArgumentNullException, ConfigurationErrorsException, MulticastNotSupportedException, OutOfMemoryException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException- Throws:
java.lang.ThrowableObjectDisposedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionArgumentExceptionArgumentNullExceptionConfigurationErrorsExceptionMulticastNotSupportedExceptionOutOfMemoryExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledException
-
getExclusiveAddressUse
public boolean getExclusiveAddressUse() throws java.lang.Throwable, ObjectDisposedException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, ArgumentNullException, OutOfMemoryException, MissingManifestResourceException, NotImplementedException, InvalidOperationException, SocketException
-
setExclusiveAddressUse
public void setExclusiveAddressUse(boolean ExclusiveAddressUse) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, OutOfMemoryException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionOutOfMemoryException
-
getNoDelay
public boolean getNoDelay() throws java.lang.Throwable, ObjectDisposedException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, ArgumentNullException, OutOfMemoryException, MissingManifestResourceException, NotImplementedException, InvalidOperationException, SocketException
-
setNoDelay
public void setNoDelay(boolean NoDelay) throws java.lang.Throwable, ObjectDisposedException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, ArgumentNullException, ConfigurationErrorsException, MulticastNotSupportedException, OutOfMemoryException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException- Throws:
java.lang.ThrowableObjectDisposedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionArgumentExceptionArgumentNullExceptionConfigurationErrorsExceptionMulticastNotSupportedExceptionOutOfMemoryExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledException
-
getAvailable
public int getAvailable() throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, ConfigurationErrorsException, MulticastNotSupportedException, InvalidOperationException, OutOfMemoryException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException- Throws:
java.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionArgumentExceptionConfigurationErrorsExceptionMulticastNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledException
-
getReceiveBufferSize
public int getReceiveBufferSize() throws java.lang.Throwable, ObjectDisposedException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, ArgumentNullException, OutOfMemoryException, MissingManifestResourceException, NotImplementedException, InvalidOperationException, SocketException
-
setReceiveBufferSize
public void setReceiveBufferSize(int ReceiveBufferSize) throws java.lang.Throwable, ObjectDisposedException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, ArgumentNullException, ConfigurationErrorsException, MulticastNotSupportedException, OutOfMemoryException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException- Throws:
java.lang.ThrowableObjectDisposedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionArgumentExceptionArgumentNullExceptionConfigurationErrorsExceptionMulticastNotSupportedExceptionOutOfMemoryExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledException
-
getReceiveTimeout
public int getReceiveTimeout() throws java.lang.Throwable, ObjectDisposedException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, ArgumentNullException, OutOfMemoryException, MissingManifestResourceException, NotImplementedException, InvalidOperationException, SocketException
-
setReceiveTimeout
public void setReceiveTimeout(int ReceiveTimeout) throws java.lang.Throwable, ObjectDisposedException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, ArgumentNullException, ConfigurationErrorsException, MulticastNotSupportedException, OutOfMemoryException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException- Throws:
java.lang.ThrowableObjectDisposedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionArgumentExceptionArgumentNullExceptionConfigurationErrorsExceptionMulticastNotSupportedExceptionOutOfMemoryExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledException
-
getSendBufferSize
public int getSendBufferSize() throws java.lang.Throwable, ObjectDisposedException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, ArgumentNullException, OutOfMemoryException, MissingManifestResourceException, NotImplementedException, InvalidOperationException, SocketException
-
setSendBufferSize
public void setSendBufferSize(int SendBufferSize) throws java.lang.Throwable, ObjectDisposedException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, ArgumentNullException, ConfigurationErrorsException, MulticastNotSupportedException, OutOfMemoryException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException- Throws:
java.lang.ThrowableObjectDisposedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionArgumentExceptionArgumentNullExceptionConfigurationErrorsExceptionMulticastNotSupportedExceptionOutOfMemoryExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledException
-
getSendTimeout
public int getSendTimeout() throws java.lang.Throwable, ObjectDisposedException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, ArgumentNullException, OutOfMemoryException, MissingManifestResourceException, NotImplementedException, InvalidOperationException, SocketException
-
setSendTimeout
public void setSendTimeout(int SendTimeout) throws java.lang.Throwable, ObjectDisposedException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, ArgumentNullException, ConfigurationErrorsException, MulticastNotSupportedException, OutOfMemoryException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException- Throws:
java.lang.ThrowableObjectDisposedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionArgumentExceptionArgumentNullExceptionConfigurationErrorsExceptionMulticastNotSupportedExceptionOutOfMemoryExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledException
-
getLingerState
public 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
- Throws:
java.lang.ThrowableObjectDisposedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionArgumentExceptionArgumentNullExceptionConfigurationErrorsExceptionMulticastNotSupportedExceptionOutOfMemoryExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionNotImplementedExceptionMissingManifestResourceExceptionInvalidOperationExceptionSocketException
-
setLingerState
public 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
- Throws:
java.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionIndexOutOfRangeExceptionConfigurationErrorsExceptionMulticastNotSupportedExceptionOutOfMemoryExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionSocketException
-
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
-
-