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.Net.Sockets, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Net.Sockets.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.Net.Sockets, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.Net.Socketsstatic java.lang.String
className
Qualified class name: System.Net.Sockets.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)
ValueTask
ConnectAsync(java.lang.String host, int port, CancellationToken cancellationToken)
Task
ConnectAsync(IPAddress[] addresses, int port)
ValueTask
ConnectAsync(IPAddress[] addresses, int port, CancellationToken cancellationToken)
Task
ConnectAsync(IPAddress address, int port)
ValueTask
ConnectAsync(IPAddress address, int port, CancellationToken cancellationToken)
Task
ConnectAsync(IPEndPoint remoteEP)
ValueTask
ConnectAsync(IPEndPoint remoteEP, CancellationToken cancellationToken)
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.Net.Sockets, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Net.Sockets- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Net.Sockets.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, NotSupportedException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, InvalidOperationException, ArgumentException, ArrayTypeMismatchException, FormatException, EventSourceException, ArgumentOutOfRangeException, CultureNotFoundException, SocketException, ArgumentNullException
- Throws:
java.lang.Throwable
NotSupportedException
PlatformNotSupportedException
IndexOutOfRangeException
OutOfMemoryException
InvalidOperationException
ArgumentException
ArrayTypeMismatchException
FormatException
EventSourceException
ArgumentOutOfRangeException
CultureNotFoundException
SocketException
ArgumentNullException
-
TcpClient
public TcpClient(IPEndPoint localEP) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, OutOfMemoryException, IndexOutOfRangeException, FormatException, EventSourceException, SocketException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
OutOfMemoryException
IndexOutOfRangeException
FormatException
EventSourceException
SocketException
-
TcpClient
public TcpClient(AddressFamily family) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, OutOfMemoryException, IndexOutOfRangeException, FormatException, EventSourceException, SocketException, ArgumentNullException, ObjectDisposedException
-
TcpClient
public TcpClient(java.lang.String hostname, int port) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, InvalidOperationException, ArgumentException, ArrayTypeMismatchException, FormatException, EventSourceException, ArgumentOutOfRangeException, CultureNotFoundException, SocketException, ArgumentNullException
- Throws:
java.lang.Throwable
NotSupportedException
PlatformNotSupportedException
IndexOutOfRangeException
OutOfMemoryException
InvalidOperationException
ArgumentException
ArrayTypeMismatchException
FormatException
EventSourceException
ArgumentOutOfRangeException
CultureNotFoundException
SocketException
ArgumentNullException
-
-
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, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, ObjectDisposedException, ArgumentException, InvalidOperationException, SocketException, NotSupportedException, EventSourceException
-
BeginConnect
public IAsyncResult BeginConnect(IPAddress[] addresses, int port, AsyncCallback requestCallback, NetObject state) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, SocketException
-
BeginConnect
public IAsyncResult BeginConnect(java.lang.String host, int port, AsyncCallback requestCallback, NetObject state) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, ObjectDisposedException, SocketException, NotSupportedException, EventSourceException
-
GetStream
public NetworkStream GetStream() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, ArgumentNullException, EventSourceException, SocketException, IOException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
PlatformNotSupportedException
IndexOutOfRangeException
OutOfMemoryException
FormatException
ArgumentNullException
EventSourceException
SocketException
IOException
-
ConnectAsync
public Task ConnectAsync(IPAddress address, int port) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, SocketException
-
ConnectAsync
public Task ConnectAsync(IPAddress[] addresses, int port) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, SocketException
-
ConnectAsync
public Task ConnectAsync(IPEndPoint remoteEP) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, ObjectDisposedException, ArgumentException, InvalidOperationException, SocketException, NotSupportedException, FormatException, ArrayTypeMismatchException
-
ConnectAsync
public Task ConnectAsync(java.lang.String host, int port) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, ObjectDisposedException, SocketException
-
ConnectAsync
public ValueTask ConnectAsync(IPAddress address, int port, CancellationToken cancellationToken) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, SocketException, FormatException, ArrayTypeMismatchException
-
ConnectAsync
public ValueTask ConnectAsync(IPAddress[] addresses, int port, CancellationToken cancellationToken) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, SocketException, ArgumentNullException
-
ConnectAsync
public ValueTask ConnectAsync(IPEndPoint remoteEP, CancellationToken cancellationToken) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, InvalidOperationException, OutOfMemoryException, ObjectDisposedException, SocketException, FormatException, ArrayTypeMismatchException
-
ConnectAsync
public ValueTask ConnectAsync(java.lang.String host, int port, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, ObjectDisposedException, SocketException, ArrayTypeMismatchException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
PlatformNotSupportedException
IndexOutOfRangeException
OutOfMemoryException
FormatException
ObjectDisposedException
SocketException
ArrayTypeMismatchException
-
Close
public void Close() throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, ObjectDisposedException, OutOfMemoryException, ArgumentException, FormatException, InvalidOperationException, ArgumentOutOfRangeException, EventSourceException
-
Connect
public void Connect(IPAddress address, int port) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, SocketException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, ArgumentNullException, EventSourceException, ArrayTypeMismatchException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
SocketException
PlatformNotSupportedException
IndexOutOfRangeException
OutOfMemoryException
FormatException
ArgumentNullException
EventSourceException
ArrayTypeMismatchException
-
Connect
public void Connect(IPAddress[] ipAddresses, int port) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, ArgumentOutOfRangeException, SocketException, PlatformNotSupportedException, ArgumentNullException, InvalidOperationException, IndexOutOfRangeException, FormatException, ArrayTypeMismatchException
-
Connect
public void Connect(IPEndPoint remoteEP) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, SocketException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, ArgumentNullException, EventSourceException, ArrayTypeMismatchException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
SocketException
PlatformNotSupportedException
IndexOutOfRangeException
OutOfMemoryException
FormatException
ArgumentNullException
EventSourceException
ArrayTypeMismatchException
-
Connect
public void Connect(java.lang.String hostname, int port) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, SocketException, ArrayTypeMismatchException
-
Dispose
public void Dispose() throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, ObjectDisposedException, IndexOutOfRangeException, OutOfMemoryException, InvalidOperationException, ArrayTypeMismatchException, ArgumentException, FormatException, ArgumentOutOfRangeException, EventSourceException
-
EndConnect
public void EndConnect(IAsyncResult asyncResult) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, TaskSchedulerException, PlatformNotSupportedException, TaskCanceledException, ArgumentOutOfRangeException, AggregateException
-
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, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, InvalidOperationException, FormatException, ArgumentOutOfRangeException, EventSourceException, ObjectDisposedException, SocketException
-
getExclusiveAddressUse
public boolean getExclusiveAddressUse() throws java.lang.Throwable, ObjectDisposedException, PlatformNotSupportedException, ArgumentNullException, OutOfMemoryException, ArgumentOutOfRangeException, ArgumentException, FormatException, InvalidOperationException, EventSourceException, SocketException
-
setExclusiveAddressUse
public void setExclusiveAddressUse(boolean ExclusiveAddressUse) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, ArrayTypeMismatchException, SocketException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
IndexOutOfRangeException
OutOfMemoryException
FormatException
EventSourceException
ArrayTypeMismatchException
SocketException
-
getNoDelay
public boolean getNoDelay() throws java.lang.Throwable, ObjectDisposedException, PlatformNotSupportedException, ArgumentNullException, OutOfMemoryException, ArgumentOutOfRangeException, ArgumentException, FormatException, InvalidOperationException, EventSourceException, SocketException
-
setNoDelay
public void setNoDelay(boolean NoDelay) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, InvalidOperationException, ArgumentException, FormatException, ArgumentOutOfRangeException, EventSourceException, ArrayTypeMismatchException, SocketException
- Throws:
java.lang.Throwable
ObjectDisposedException
ArgumentNullException
PlatformNotSupportedException
IndexOutOfRangeException
OutOfMemoryException
InvalidOperationException
ArgumentException
FormatException
ArgumentOutOfRangeException
EventSourceException
ArrayTypeMismatchException
SocketException
-
getAvailable
public int getAvailable() throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, InvalidOperationException, FormatException, ArgumentOutOfRangeException, ArgumentNullException, EventSourceException, SocketException
-
getReceiveBufferSize
public int getReceiveBufferSize() throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, InvalidOperationException, FormatException, ArgumentOutOfRangeException, ArgumentNullException, EventSourceException, SocketException, ArrayTypeMismatchException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ObjectDisposedException
PlatformNotSupportedException
IndexOutOfRangeException
OutOfMemoryException
InvalidOperationException
FormatException
ArgumentOutOfRangeException
ArgumentNullException
EventSourceException
SocketException
ArrayTypeMismatchException
-
setReceiveBufferSize
public void setReceiveBufferSize(int ReceiveBufferSize) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, InvalidOperationException, FormatException, ArgumentOutOfRangeException, ArgumentNullException, EventSourceException, ArrayTypeMismatchException, SocketException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ObjectDisposedException
PlatformNotSupportedException
IndexOutOfRangeException
OutOfMemoryException
InvalidOperationException
FormatException
ArgumentOutOfRangeException
ArgumentNullException
EventSourceException
ArrayTypeMismatchException
SocketException
-
getReceiveTimeout
public int getReceiveTimeout() throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, InvalidOperationException, FormatException, ArgumentOutOfRangeException, ArgumentNullException, EventSourceException, SocketException, ArrayTypeMismatchException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ObjectDisposedException
PlatformNotSupportedException
IndexOutOfRangeException
OutOfMemoryException
InvalidOperationException
FormatException
ArgumentOutOfRangeException
ArgumentNullException
EventSourceException
SocketException
ArrayTypeMismatchException
-
setReceiveTimeout
public void setReceiveTimeout(int ReceiveTimeout) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, InvalidOperationException, FormatException, ArgumentOutOfRangeException, ArgumentNullException, EventSourceException, ArrayTypeMismatchException, SocketException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ObjectDisposedException
PlatformNotSupportedException
IndexOutOfRangeException
OutOfMemoryException
InvalidOperationException
FormatException
ArgumentOutOfRangeException
ArgumentNullException
EventSourceException
ArrayTypeMismatchException
SocketException
-
getSendBufferSize
public int getSendBufferSize() throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, InvalidOperationException, FormatException, ArgumentOutOfRangeException, ArgumentNullException, EventSourceException, SocketException, ArrayTypeMismatchException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ObjectDisposedException
PlatformNotSupportedException
IndexOutOfRangeException
OutOfMemoryException
InvalidOperationException
FormatException
ArgumentOutOfRangeException
ArgumentNullException
EventSourceException
SocketException
ArrayTypeMismatchException
-
setSendBufferSize
public void setSendBufferSize(int SendBufferSize) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, InvalidOperationException, FormatException, ArgumentOutOfRangeException, ArgumentNullException, EventSourceException, ArrayTypeMismatchException, SocketException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ObjectDisposedException
PlatformNotSupportedException
IndexOutOfRangeException
OutOfMemoryException
InvalidOperationException
FormatException
ArgumentOutOfRangeException
ArgumentNullException
EventSourceException
ArrayTypeMismatchException
SocketException
-
getSendTimeout
public int getSendTimeout() throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, InvalidOperationException, FormatException, ArgumentOutOfRangeException, ArgumentNullException, EventSourceException, SocketException, ArrayTypeMismatchException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ObjectDisposedException
PlatformNotSupportedException
IndexOutOfRangeException
OutOfMemoryException
InvalidOperationException
FormatException
ArgumentOutOfRangeException
ArgumentNullException
EventSourceException
SocketException
ArrayTypeMismatchException
-
setSendTimeout
public void setSendTimeout(int SendTimeout) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, InvalidOperationException, FormatException, ArgumentOutOfRangeException, ArgumentNullException, EventSourceException, ArrayTypeMismatchException, SocketException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ObjectDisposedException
PlatformNotSupportedException
IndexOutOfRangeException
OutOfMemoryException
InvalidOperationException
FormatException
ArgumentOutOfRangeException
ArgumentNullException
EventSourceException
ArrayTypeMismatchException
SocketException
-
getLingerState
public LingerOption getLingerState() throws java.lang.Throwable, ObjectDisposedException, PlatformNotSupportedException, ArgumentNullException, OutOfMemoryException, ArgumentOutOfRangeException, ArgumentException, FormatException, InvalidOperationException, EventSourceException, SocketException
-
setLingerState
public void setLingerState(LingerOption LingerState) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, InvalidOperationException, ArgumentException, FormatException, ArgumentOutOfRangeException, EventSourceException, CultureNotFoundException, SocketException, ArrayTypeMismatchException, NotSupportedException
- Throws:
java.lang.Throwable
ObjectDisposedException
ArgumentNullException
PlatformNotSupportedException
IndexOutOfRangeException
OutOfMemoryException
InvalidOperationException
ArgumentException
FormatException
ArgumentOutOfRangeException
EventSourceException
CultureNotFoundException
SocketException
ArrayTypeMismatchException
NotSupportedException
-
getClient
public Socket getClient() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setClient
public void setClient(Socket Client) throws java.lang.Throwable, OutOfMemoryException, PlatformNotSupportedException, ArrayTypeMismatchException, ArgumentException, InvalidOperationException, FormatException, EventSourceException, SocketException, ObjectDisposedException, NotSupportedException
-
-