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.String
assemblyFullName
Fully assembly qualified name: System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.String
assemblyShortName
Assembly name: Systemstatic java.lang.String
className
Qualified class name: System.Net.Sockets.TcpClientstatic JCType
classType
The 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 IAsyncResult
BeginConnect(java.lang.String host, int port, AsyncCallback requestCallback, NetObject state)
IAsyncResult
BeginConnect(IPAddress[] addresses, int port, AsyncCallback requestCallback, NetObject state)
IAsyncResult
BeginConnect(IPAddress address, int port, AsyncCallback requestCallback, NetObject state)
static TcpClient
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoTcpClient
, 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[] ipAddresses, int port)
void
Connect(IPAddress address, int port)
void
Connect(IPEndPoint remoteEP)
Task
ConnectAsync(java.lang.String host, int port)
Task
ConnectAsync(IPAddress[] addresses, int port)
Task
ConnectAsync(IPAddress address, int port)
void
Dispose()
void
EndConnect(IAsyncResult asyncResult)
int
getAvailable()
Socket
getClient()
boolean
getConnected()
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 TypeLingerOption
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)
-
-
-
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.Throwable
Internal 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.Throwable
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
ConfigurationException
ConfigurationErrorsException
MissingManifestResourceException
InvalidCastException
MulticastNotSupportedException
InvalidOperationException
OutOfMemoryException
IndexOutOfRangeException
SocketException
SecurityException
ObjectDisposedException
NotSupportedException
-
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.Throwable
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
NotSupportedException
ConfigurationException
ConfigurationErrorsException
OverflowException
MulticastNotSupportedException
InvalidOperationException
OutOfMemoryException
NotImplementedException
IndexOutOfRangeException
SocketException
SecurityException
ObjectDisposedException
-
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.Throwable
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
NotSupportedException
ConfigurationException
ConfigurationErrorsException
OverflowException
MulticastNotSupportedException
InvalidOperationException
OutOfMemoryException
IndexOutOfRangeException
SocketException
SecurityException
ObjectDisposedException
-
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.Throwable
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
NotSupportedException
ConfigurationException
ConfigurationErrorsException
OverflowException
MulticastNotSupportedException
InvalidOperationException
OutOfMemoryException
ObjectDisposedException
IndexOutOfRangeException
SocketException
FormatException
NotImplementedException
AccessViolationException
-
-
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 TcpClient cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoTcpClient
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
TcpClient
instance- 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.Throwable
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
NotSupportedException
ConfigurationException
ConfigurationErrorsException
OverflowException
MulticastNotSupportedException
InvalidOperationException
OutOfMemoryException
ObjectDisposedException
SocketException
NotImplementedException
IndexOutOfRangeException
FormatException
-
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.Throwable
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
NotSupportedException
ConfigurationException
ConfigurationErrorsException
OverflowException
MulticastNotSupportedException
InvalidOperationException
OutOfMemoryException
ObjectDisposedException
SocketException
NotImplementedException
AccessViolationException
SecurityException
-
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.Throwable
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
NotSupportedException
ConfigurationException
ConfigurationErrorsException
OverflowException
MulticastNotSupportedException
InvalidOperationException
OutOfMemoryException
ObjectDisposedException
SocketException
NotImplementedException
IndexOutOfRangeException
FormatException
-
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.Throwable
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
NotSupportedException
ConfigurationException
ConfigurationErrorsException
OverflowException
MulticastNotSupportedException
InvalidOperationException
OutOfMemoryException
ObjectDisposedException
IndexOutOfRangeException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
-
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.Throwable
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
ConfigurationException
ConfigurationErrorsException
MissingManifestResourceException
InvalidCastException
MulticastNotSupportedException
InvalidOperationException
OutOfMemoryException
ObjectDisposedException
NotSupportedException
SocketException
NotImplementedException
IndexOutOfRangeException
FormatException
TaskSchedulerException
EventSourceException
-
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.Throwable
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
ConfigurationException
ConfigurationErrorsException
MissingManifestResourceException
InvalidCastException
MulticastNotSupportedException
InvalidOperationException
OutOfMemoryException
ObjectDisposedException
NotSupportedException
SocketException
NotImplementedException
WaitHandleCannotBeOpenedException
AccessViolationException
TaskSchedulerException
EventSourceException
-
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.Throwable
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
ConfigurationException
ConfigurationErrorsException
MissingManifestResourceException
InvalidCastException
MulticastNotSupportedException
InvalidOperationException
OutOfMemoryException
ObjectDisposedException
NotSupportedException
NotImplementedException
SocketException
IndexOutOfRangeException
FormatException
TaskSchedulerException
EventSourceException
-
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.Throwable
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
NotSupportedException
ConfigurationException
ConfigurationErrorsException
OverflowException
MulticastNotSupportedException
InvalidOperationException
OutOfMemoryException
ObjectDisposedException
NotImplementedException
SocketException
IndexOutOfRangeException
FormatException
AccessViolationException
-
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.Throwable
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
NotSupportedException
ConfigurationException
ConfigurationErrorsException
OverflowException
MulticastNotSupportedException
InvalidOperationException
OutOfMemoryException
ObjectDisposedException
SocketException
NotImplementedException
IndexOutOfRangeException
FormatException
AccessViolationException
-
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.Throwable
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
NotSupportedException
ConfigurationException
ConfigurationErrorsException
OverflowException
MulticastNotSupportedException
InvalidOperationException
OutOfMemoryException
ObjectDisposedException
NotImplementedException
SocketException
IndexOutOfRangeException
FormatException
AccessViolationException
PlatformNotSupportedException
-
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.Throwable
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
NotSupportedException
ConfigurationException
ConfigurationErrorsException
OverflowException
MulticastNotSupportedException
InvalidOperationException
OutOfMemoryException
ObjectDisposedException
IndexOutOfRangeException
SocketException
FormatException
NotImplementedException
AccessViolationException
-
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.Throwable
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
NotSupportedException
ConfigurationException
ConfigurationErrorsException
OverflowException
MulticastNotSupportedException
InvalidOperationException
OutOfMemoryException
ObjectDisposedException
WaitHandleCannotBeOpenedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
AbandonedMutexException
IndexOutOfRangeException
NotImplementedException
SocketException
-
close
public void close() throws java.lang.Exception
- Specified by:
close
in 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.Throwable
ObjectDisposedException
ArgumentOutOfRangeException
IndexOutOfRangeException
ArgumentException
ArgumentNullException
ConfigurationErrorsException
MulticastNotSupportedException
OutOfMemoryException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
-
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.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
OutOfMemoryException
-
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.Throwable
ObjectDisposedException
ArgumentOutOfRangeException
IndexOutOfRangeException
ArgumentException
ArgumentNullException
ConfigurationErrorsException
MulticastNotSupportedException
OutOfMemoryException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
-
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.Throwable
ObjectDisposedException
ArgumentNullException
ArgumentOutOfRangeException
IndexOutOfRangeException
ArgumentException
ConfigurationErrorsException
MulticastNotSupportedException
InvalidOperationException
OutOfMemoryException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
-
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.Throwable
ObjectDisposedException
ArgumentOutOfRangeException
IndexOutOfRangeException
ArgumentException
ArgumentNullException
ConfigurationErrorsException
MulticastNotSupportedException
OutOfMemoryException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
-
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.Throwable
ObjectDisposedException
ArgumentOutOfRangeException
IndexOutOfRangeException
ArgumentException
ArgumentNullException
ConfigurationErrorsException
MulticastNotSupportedException
OutOfMemoryException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
-
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.Throwable
ObjectDisposedException
ArgumentOutOfRangeException
IndexOutOfRangeException
ArgumentException
ArgumentNullException
ConfigurationErrorsException
MulticastNotSupportedException
OutOfMemoryException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
-
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.Throwable
ObjectDisposedException
ArgumentOutOfRangeException
IndexOutOfRangeException
ArgumentException
ArgumentNullException
ConfigurationErrorsException
MulticastNotSupportedException
OutOfMemoryException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
-
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.Throwable
ObjectDisposedException
ArgumentOutOfRangeException
IndexOutOfRangeException
ArgumentException
ArgumentNullException
ConfigurationErrorsException
MulticastNotSupportedException
OutOfMemoryException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
NotImplementedException
MissingManifestResourceException
InvalidOperationException
SocketException
-
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.Throwable
ObjectDisposedException
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
IndexOutOfRangeException
ConfigurationErrorsException
MulticastNotSupportedException
OutOfMemoryException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
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
-
-