Package system.net.sockets
Class Socket
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.net.sockets.Socket
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,IJCOBridgeReflected
public class Socket extends NetObject implements java.lang.AutoCloseable
The base .NET class managing System.Net.Sockets.Socket, 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.Socket
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.Socketstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description Socket()
Socket(java.lang.Object instance)
Internal constructor.Socket(AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType)
Socket(SafeSocketHandle handle)
Socket(SocketInformation socketInformation)
Socket(SocketType socketType, ProtocolType protocolType)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Socket
Accept()
boolean
AcceptAsync(SocketAsyncEventArgs e)
IAsyncResult
BeginAccept(int receiveSize, AsyncCallback callback, NetObject state)
IAsyncResult
BeginAccept(AsyncCallback callback, NetObject state)
IAsyncResult
BeginAccept(Socket acceptSocket, int receiveSize, AsyncCallback callback, NetObject state)
IAsyncResult
BeginConnect(java.lang.String host, int port, AsyncCallback requestCallback, NetObject state)
IAsyncResult
BeginConnect(EndPoint remoteEP, AsyncCallback callback, NetObject state)
IAsyncResult
BeginConnect(IPAddress[] addresses, int port, AsyncCallback requestCallback, NetObject state)
IAsyncResult
BeginConnect(IPAddress address, int port, AsyncCallback requestCallback, NetObject state)
IAsyncResult
BeginDisconnect(boolean reuseSocket, AsyncCallback callback, NetObject state)
IAsyncResult
BeginReceive(byte[] buffer, int offset, int size, SocketFlags socketFlags, JCORefOut<SocketError> errorCode, AsyncCallback callback, NetObject state)
IAsyncResult
BeginReceive(byte[] buffer, int offset, int size, SocketFlags socketFlags, AsyncCallback callback, NetObject state)
IAsyncResult
BeginReceive(JCORefOut dupParam0, int dupParam1, int dupParam2, SocketFlags dupParam3, AsyncCallback dupParam4, NetObject dupParam5)
IAsyncResult
BeginReceiveFrom(byte[] buffer, int offset, int size, SocketFlags socketFlags, JCORefOut<EndPoint> remoteEP, AsyncCallback callback, NetObject state)
IAsyncResult
BeginReceiveMessageFrom(byte[] buffer, int offset, int size, SocketFlags socketFlags, JCORefOut<EndPoint> remoteEP, AsyncCallback callback, NetObject state)
IAsyncResult
BeginSend(byte[] buffer, int offset, int size, SocketFlags socketFlags, JCORefOut<SocketError> errorCode, AsyncCallback callback, NetObject state)
IAsyncResult
BeginSend(byte[] buffer, int offset, int size, SocketFlags socketFlags, AsyncCallback callback, NetObject state)
IAsyncResult
BeginSend(JCORefOut dupParam0, int dupParam1, int dupParam2, SocketFlags dupParam3, AsyncCallback dupParam4, NetObject dupParam5)
IAsyncResult
BeginSendFile(java.lang.String fileName, byte[] preBuffer, byte[] postBuffer, TransmitFileOptions flags, AsyncCallback callback, NetObject state)
IAsyncResult
BeginSendFile(java.lang.String dupParam0, JCORefOut dupParam1, JCORefOut dupParam2, TransmitFileOptions dupParam3, AsyncCallback dupParam4, NetObject dupParam5)
IAsyncResult
BeginSendFile(java.lang.String fileName, AsyncCallback callback, NetObject state)
IAsyncResult
BeginSendTo(byte[] buffer, int offset, int size, SocketFlags socketFlags, EndPoint remoteEP, AsyncCallback callback, NetObject state)
IAsyncResult
BeginSendTo(JCORefOut dupParam0, int dupParam1, int dupParam2, SocketFlags dupParam3, EndPoint dupParam4, AsyncCallback dupParam5, NetObject dupParam6)
void
Bind(EndPoint localEP)
static void
CancelConnectAsync(SocketAsyncEventArgs e)
static Socket
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoSocket
, a cast assert is made to check if types are compatible.void
close()
void
Close()
void
Close(int timeout)
void
Connect(java.lang.String host, int port)
void
Connect(EndPoint remoteEP)
void
Connect(IPAddress[] addresses, int port)
void
Connect(IPAddress address, int port)
Task
ConnectAsync(java.lang.String host, int port)
ValueTask
ConnectAsync(java.lang.String host, int port, CancellationToken cancellationToken)
Task
ConnectAsync(EndPoint remoteEP)
ValueTask
ConnectAsync(EndPoint remoteEP, 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)
boolean
ConnectAsync(SocketAsyncEventArgs e)
static boolean
ConnectAsync(SocketType socketType, ProtocolType protocolType, SocketAsyncEventArgs e)
void
Disconnect(boolean reuseSocket)
ValueTask
DisconnectAsync(boolean reuseSocket, CancellationToken cancellationToken)
boolean
DisconnectAsync(SocketAsyncEventArgs e)
void
Dispose()
SocketInformation
DuplicateAndClose(int targetProcessId)
Socket
EndAccept(JCORefOut buffer, JCORefOut<java.util.concurrent.atomic.AtomicInteger> bytesTransferred, IAsyncResult asyncResult)
Socket
EndAccept(JCORefOut buffer, IAsyncResult asyncResult)
Socket
EndAccept(IAsyncResult asyncResult)
void
EndConnect(IAsyncResult asyncResult)
void
EndDisconnect(IAsyncResult asyncResult)
int
EndReceive(IAsyncResult asyncResult)
int
EndReceive(IAsyncResult asyncResult, JCORefOut<SocketError> errorCode)
int
EndReceiveFrom(IAsyncResult asyncResult, JCORefOut<EndPoint> endPoint)
int
EndReceiveMessageFrom(IAsyncResult asyncResult, JCORefOut<SocketFlags> socketFlags, JCORefOut<EndPoint> endPoint, JCORefOut<IPPacketInformation> ipPacketInformation)
int
EndSend(IAsyncResult asyncResult)
int
EndSend(IAsyncResult asyncResult, JCORefOut<SocketError> errorCode)
void
EndSendFile(IAsyncResult asyncResult)
int
EndSendTo(IAsyncResult asyncResult)
AddressFamily
getAddressFamily()
int
getAvailable()
boolean
getBlocking()
boolean
getConnected()
boolean
getDontFragment()
boolean
getDualMode()
boolean
getEnableBroadcast()
boolean
getExclusiveAddressUse()
boolean
getIsBound()
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()
EndPoint
getLocalEndPoint()
boolean
getMulticastLoopback()
boolean
getNoDelay()
static boolean
getOSSupportsIPv4()
static boolean
getOSSupportsIPv6()
static boolean
getOSSupportsUnixDomainSockets()
ProtocolType
getProtocolType()
int
getReceiveBufferSize()
int
getReceiveTimeout()
EndPoint
getRemoteEndPoint()
SafeSocketHandle
getSafeHandle()
int
getSendBufferSize()
int
getSendTimeout()
NetObject
GetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName)
void
GetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, byte[] optionValue)
byte[]
GetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, int optionLength)
void
GetSocketOption(SocketOptionLevel dupParam0, SocketOptionName dupParam1, JCORefOut dupParam2)
SocketType
getSocketType()
static boolean
getSupportsIPv4()
static boolean
getSupportsIPv6()
short
getTtl()
boolean
getUseOnlyOverlappedIO()
int
IOControl(int ioControlCode, byte[] optionInValue, byte[] optionOutValue)
int
IOControl(int dupParam0, JCORefOut dupParam1, JCORefOut dupParam2)
int
IOControl(IOControlCode ioControlCode, byte[] optionInValue, byte[] optionOutValue)
int
IOControl(IOControlCode dupParam0, JCORefOut dupParam1, JCORefOut dupParam2)
void
Listen()
void
Listen(int backlog)
boolean
Poll(int microSeconds, SelectMode mode)
boolean
Poll(TimeSpan timeout, SelectMode mode)
int
Receive(byte[] buffer)
int
Receive(byte[] buffer, int offset, int size, SocketFlags socketFlags)
int
Receive(byte[] buffer, int offset, int size, SocketFlags socketFlags, JCORefOut<SocketError> errorCode)
int
Receive(byte[] buffer, int size, SocketFlags socketFlags)
int
Receive(byte[] buffer, SocketFlags socketFlags)
int
Receive(JCORefOut dupParam0)
int
Receive(JCORefOut dupParam0, int dupParam1, int dupParam2, SocketFlags dupParam3)
int
Receive(JCORefOut dupParam0, int dupParam1, SocketFlags dupParam2)
int
Receive(JCORefOut dupParam0, SocketFlags dupParam1)
boolean
ReceiveAsync(SocketAsyncEventArgs e)
int
ReceiveFrom(byte[] buffer, int offset, int size, SocketFlags socketFlags, JCORefOut<EndPoint> remoteEP)
int
ReceiveFrom(byte[] buffer, int size, SocketFlags socketFlags, JCORefOut<EndPoint> remoteEP)
int
ReceiveFrom(byte[] buffer, JCORefOut<EndPoint> remoteEP)
int
ReceiveFrom(byte[] buffer, SocketFlags socketFlags, JCORefOut<EndPoint> remoteEP)
boolean
ReceiveFromAsync(SocketAsyncEventArgs e)
int
ReceiveMessageFrom(byte[] buffer, int offset, int size, JCORefOut<SocketFlags> socketFlags, JCORefOut<EndPoint> remoteEP, JCORefOut<IPPacketInformation> ipPacketInformation)
boolean
ReceiveMessageFromAsync(SocketAsyncEventArgs e)
static void
Select(IList checkRead, IList checkWrite, IList checkError, int microSeconds)
static void
Select(IList checkRead, IList checkWrite, IList checkError, TimeSpan timeout)
int
Send(byte[] buffer)
int
Send(byte[] buffer, int offset, int size, SocketFlags socketFlags)
int
Send(byte[] buffer, int offset, int size, SocketFlags socketFlags, JCORefOut<SocketError> errorCode)
int
Send(byte[] buffer, int size, SocketFlags socketFlags)
int
Send(byte[] buffer, SocketFlags socketFlags)
int
Send(JCORefOut dupParam0)
int
Send(JCORefOut dupParam0, int dupParam1, int dupParam2, SocketFlags dupParam3)
int
Send(JCORefOut dupParam0, int dupParam1, SocketFlags dupParam2)
int
Send(JCORefOut dupParam0, SocketFlags dupParam1)
boolean
SendAsync(SocketAsyncEventArgs e)
void
SendFile(java.lang.String fileName)
void
SendFile(java.lang.String fileName, byte[] preBuffer, byte[] postBuffer, TransmitFileOptions flags)
void
SendFile(java.lang.String dupParam0, JCORefOut dupParam1, JCORefOut dupParam2, TransmitFileOptions dupParam3)
ValueTask
SendFileAsync(java.lang.String fileName, CancellationToken cancellationToken)
boolean
SendPacketsAsync(SocketAsyncEventArgs e)
int
SendTo(byte[] buffer, int offset, int size, SocketFlags socketFlags, EndPoint remoteEP)
int
SendTo(byte[] buffer, int size, SocketFlags socketFlags, EndPoint remoteEP)
int
SendTo(byte[] buffer, EndPoint remoteEP)
int
SendTo(byte[] buffer, SocketFlags socketFlags, EndPoint remoteEP)
int
SendTo(JCORefOut dupParam0, int dupParam1, int dupParam2, SocketFlags dupParam3, EndPoint dupParam4)
int
SendTo(JCORefOut dupParam0, int dupParam1, SocketFlags dupParam2, EndPoint dupParam3)
int
SendTo(JCORefOut dupParam0, EndPoint dupParam1)
int
SendTo(JCORefOut dupParam0, SocketFlags dupParam1, EndPoint dupParam2)
boolean
SendToAsync(SocketAsyncEventArgs e)
void
setBlocking(boolean Blocking)
void
setDontFragment(boolean DontFragment)
void
setDualMode(boolean DualMode)
void
setEnableBroadcast(boolean EnableBroadcast)
void
setExclusiveAddressUse(boolean ExclusiveAddressUse)
void
SetIPProtectionLevel(IPProtectionLevel level)
void
setJCOInstance(JCObject instance)
void
setLingerState(LingerOption LingerState)
void
setMulticastLoopback(boolean MulticastLoopback)
void
setNoDelay(boolean NoDelay)
void
setReceiveBufferSize(int ReceiveBufferSize)
void
setReceiveTimeout(int ReceiveTimeout)
void
setSendBufferSize(int SendBufferSize)
void
setSendTimeout(int SendTimeout)
void
SetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, boolean optionValue)
void
SetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, byte[] optionValue)
void
SetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, int optionValue)
void
SetSocketOption(SocketOptionLevel dupParam0, SocketOptionName dupParam1, JCORefOut dupParam2)
void
SetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, NetObject optionValue)
void
setTtl(short Ttl)
void
setUseOnlyOverlappedIO(boolean UseOnlyOverlappedIO)
void
Shutdown(SocketShutdown how)
-
-
-
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.Socket- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Socket
public Socket(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
Socket
public Socket() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Socket
public Socket(AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, OutOfMemoryException, IndexOutOfRangeException, FormatException, EventSourceException, SocketException, ArgumentNullException, ObjectDisposedException
-
Socket
public Socket(SafeSocketHandle handle) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, SocketException, ObjectDisposedException, PlatformNotSupportedException, FormatException
-
Socket
public Socket(SocketInformation socketInformation) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, SocketException, NotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, ArrayTypeMismatchException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
SocketException
NotSupportedException
IndexOutOfRangeException
OutOfMemoryException
FormatException
EventSourceException
ArrayTypeMismatchException
-
Socket
public Socket(SocketType socketType, ProtocolType protocolType) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, InvalidOperationException, ArgumentException, ArrayTypeMismatchException, FormatException, EventSourceException, ArgumentOutOfRangeException, SocketException, ArgumentNullException, ObjectDisposedException, CultureNotFoundException
- Throws:
java.lang.Throwable
NotSupportedException
PlatformNotSupportedException
IndexOutOfRangeException
OutOfMemoryException
InvalidOperationException
ArgumentException
ArrayTypeMismatchException
FormatException
EventSourceException
ArgumentOutOfRangeException
SocketException
ArgumentNullException
ObjectDisposedException
CultureNotFoundException
-
-
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 Socket cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoSocket
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
Socket
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
AcceptAsync
public boolean AcceptAsync(SocketAsyncEventArgs e) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException, PlatformNotSupportedException, FormatException, EventSourceException, SocketException, ArgumentNullException, ArrayTypeMismatchException, OverflowException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ObjectDisposedException
InvalidOperationException
OutOfMemoryException
PlatformNotSupportedException
FormatException
EventSourceException
SocketException
ArgumentNullException
ArrayTypeMismatchException
OverflowException
ArgumentOutOfRangeException
-
ConnectAsync
public boolean ConnectAsync(SocketAsyncEventArgs e) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, SocketException, EventSourceException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, FormatException, IndexOutOfRangeException, ArrayTypeMismatchException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ObjectDisposedException
InvalidOperationException
SocketException
EventSourceException
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentNullException
FormatException
IndexOutOfRangeException
ArrayTypeMismatchException
-
ConnectAsync
public static boolean ConnectAsync(SocketType socketType, ProtocolType protocolType, SocketAsyncEventArgs e) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, SocketException, TaskSchedulerException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
IndexOutOfRangeException
OutOfMemoryException
FormatException
EventSourceException
SocketException
TaskSchedulerException
-
DisconnectAsync
public boolean DisconnectAsync(SocketAsyncEventArgs e) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, OverflowException, FormatException, SocketException, ArgumentNullException, ArgumentOutOfRangeException, ArrayTypeMismatchException
-
Poll
public boolean Poll(int microSeconds, SelectMode mode) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, OutOfMemoryException, FormatException, ArgumentNullException, EventSourceException, SocketException
-
Poll
public boolean Poll(TimeSpan timeout, SelectMode mode) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException, OutOfMemoryException, EventSourceException, SocketException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
IndexOutOfRangeException
FormatException
OutOfMemoryException
EventSourceException
SocketException
-
ReceiveAsync
public boolean ReceiveAsync(SocketAsyncEventArgs e) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, ArgumentOutOfRangeException, SocketException
-
ReceiveFromAsync
public boolean ReceiveFromAsync(SocketAsyncEventArgs e) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, SocketException, ArrayTypeMismatchException, OutOfMemoryException
-
ReceiveMessageFromAsync
public boolean ReceiveMessageFromAsync(SocketAsyncEventArgs e) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, SocketException, OutOfMemoryException, OverflowException, FormatException
-
SendAsync
public boolean SendAsync(SocketAsyncEventArgs e) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, ArgumentOutOfRangeException, SocketException
-
SendPacketsAsync
public boolean SendPacketsAsync(SocketAsyncEventArgs e) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, FormatException, EventSourceException, SocketException, ArrayTypeMismatchException, SerializationException, CultureNotFoundException, IOException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ObjectDisposedException
ArgumentNullException
InvalidOperationException
ArgumentOutOfRangeException
IndexOutOfRangeException
PlatformNotSupportedException
OutOfMemoryException
FormatException
EventSourceException
SocketException
ArrayTypeMismatchException
SerializationException
CultureNotFoundException
IOException
-
SendToAsync
public boolean SendToAsync(SocketAsyncEventArgs e) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, ArrayTypeMismatchException, SocketException
-
GetSocketOption
public byte[] GetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, int optionLength) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArrayTypeMismatchException, ArgumentNullException, PlatformNotSupportedException, OutOfMemoryException, FormatException, EventSourceException, SocketException
-
EndReceive
public int EndReceive(IAsyncResult asyncResult, JCORefOut<SocketError> errorCode) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, EventSourceException, InvalidOperationException, TaskSchedulerException, TaskCanceledException, AggregateException
-
EndReceive
public int EndReceive(IAsyncResult asyncResult) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, EventSourceException, InvalidOperationException, TaskSchedulerException, TaskCanceledException, AggregateException
-
EndReceiveFrom
public int EndReceiveFrom(IAsyncResult asyncResult, JCORefOut<EndPoint> endPoint) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, SocketException, TaskSchedulerException, TaskCanceledException, AggregateException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
SocketException
TaskSchedulerException
TaskCanceledException
AggregateException
-
EndReceiveMessageFrom
public int EndReceiveMessageFrom(IAsyncResult asyncResult, JCORefOut<SocketFlags> socketFlags, JCORefOut<EndPoint> endPoint, JCORefOut<IPPacketInformation> ipPacketInformation) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, SocketException, TaskSchedulerException, TaskCanceledException, AggregateException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
SocketException
TaskSchedulerException
TaskCanceledException
AggregateException
-
EndSend
public int EndSend(IAsyncResult asyncResult, JCORefOut<SocketError> errorCode) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, EventSourceException, InvalidOperationException, TaskSchedulerException, TaskCanceledException, AggregateException
-
EndSend
public int EndSend(IAsyncResult asyncResult) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, EventSourceException, InvalidOperationException, TaskSchedulerException, TaskCanceledException, AggregateException
-
EndSendTo
public int EndSendTo(IAsyncResult asyncResult) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, EventSourceException, InvalidOperationException, TaskSchedulerException, TaskCanceledException, AggregateException
-
IOControl
public int IOControl(int ioControlCode, byte[] optionInValue, byte[] optionOutValue) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, OutOfMemoryException, FormatException, ArgumentNullException, EventSourceException, SocketException
-
IOControl
public int IOControl(int dupParam0, JCORefOut dupParam1, JCORefOut dupParam2) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, OutOfMemoryException, FormatException, ArgumentNullException, EventSourceException, SocketException
-
IOControl
public int IOControl(IOControlCode ioControlCode, byte[] optionInValue, byte[] optionOutValue) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, ArgumentOutOfRangeException, ArgumentNullException, EventSourceException, SocketException
-
IOControl
public int IOControl(IOControlCode dupParam0, JCORefOut dupParam1, JCORefOut dupParam2) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, ArgumentOutOfRangeException, ArgumentNullException, EventSourceException, SocketException
-
Receive
public int Receive(byte[] buffer, int offset, int size, SocketFlags socketFlags, JCORefOut<SocketError> errorCode) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, SocketException, OutOfMemoryException, EventSourceException, ArrayTypeMismatchException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
FormatException
SocketException
OutOfMemoryException
EventSourceException
ArrayTypeMismatchException
-
Receive
public int Receive(byte[] buffer, int offset, int size, SocketFlags socketFlags) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, SocketException, OutOfMemoryException, ArrayTypeMismatchException
-
Receive
public int Receive(JCORefOut dupParam0, int dupParam1, int dupParam2, SocketFlags dupParam3) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, SocketException, OutOfMemoryException, ArrayTypeMismatchException
-
Receive
public int Receive(byte[] buffer, int size, SocketFlags socketFlags) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, SocketException, IndexOutOfRangeException, ArrayTypeMismatchException
-
Receive
public int Receive(JCORefOut dupParam0, int dupParam1, SocketFlags dupParam2) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, SocketException, IndexOutOfRangeException, ArrayTypeMismatchException
-
Receive
public int Receive(byte[] buffer, SocketFlags socketFlags) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, SocketException, IndexOutOfRangeException, ArrayTypeMismatchException
-
Receive
public int Receive(JCORefOut dupParam0, SocketFlags dupParam1) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, SocketException, IndexOutOfRangeException, ArrayTypeMismatchException
-
Receive
public int Receive(byte[] buffer) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, SocketException, IndexOutOfRangeException, ArrayTypeMismatchException
-
Receive
public int Receive(JCORefOut dupParam0) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, SocketException, IndexOutOfRangeException, ArrayTypeMismatchException
-
ReceiveFrom
public int ReceiveFrom(byte[] buffer, int offset, int size, SocketFlags socketFlags, JCORefOut<EndPoint> remoteEP) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, SocketException, ArrayTypeMismatchException
-
ReceiveFrom
public int ReceiveFrom(byte[] buffer, int size, SocketFlags socketFlags, JCORefOut<EndPoint> remoteEP) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, SocketException, ArrayTypeMismatchException, EventSourceException
-
ReceiveFrom
public int ReceiveFrom(byte[] buffer, JCORefOut<EndPoint> remoteEP) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, SocketException, ArrayTypeMismatchException, EventSourceException
-
ReceiveFrom
public int ReceiveFrom(byte[] buffer, SocketFlags socketFlags, JCORefOut<EndPoint> remoteEP) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, SocketException, ArrayTypeMismatchException, EventSourceException
-
ReceiveMessageFrom
public int ReceiveMessageFrom(byte[] buffer, int offset, int size, JCORefOut<SocketFlags> socketFlags, JCORefOut<EndPoint> remoteEP, JCORefOut<IPPacketInformation> ipPacketInformation) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, SocketException, OverflowException
-
Send
public int Send(byte[] buffer, int offset, int size, SocketFlags socketFlags, JCORefOut<SocketError> errorCode) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, SocketException, OutOfMemoryException, EventSourceException, ArrayTypeMismatchException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
FormatException
SocketException
OutOfMemoryException
EventSourceException
ArrayTypeMismatchException
-
Send
public int Send(byte[] buffer, int offset, int size, SocketFlags socketFlags) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, SocketException, OutOfMemoryException, ArrayTypeMismatchException
-
Send
public int Send(JCORefOut dupParam0, int dupParam1, int dupParam2, SocketFlags dupParam3) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, SocketException, OutOfMemoryException, ArrayTypeMismatchException
-
Send
public int Send(byte[] buffer, int size, SocketFlags socketFlags) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, SocketException, IndexOutOfRangeException, ArrayTypeMismatchException
-
Send
public int Send(JCORefOut dupParam0, int dupParam1, SocketFlags dupParam2) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, SocketException, IndexOutOfRangeException, ArrayTypeMismatchException
-
Send
public int Send(byte[] buffer, SocketFlags socketFlags) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, SocketException, IndexOutOfRangeException, ArrayTypeMismatchException
-
Send
public int Send(JCORefOut dupParam0, SocketFlags dupParam1) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, SocketException, IndexOutOfRangeException, ArrayTypeMismatchException
-
Send
public int Send(byte[] buffer) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, SocketException, IndexOutOfRangeException, ArrayTypeMismatchException
-
Send
public int Send(JCORefOut dupParam0) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, SocketException, IndexOutOfRangeException, ArrayTypeMismatchException
-
SendTo
public int SendTo(byte[] buffer, int offset, int size, SocketFlags socketFlags, EndPoint remoteEP) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, SocketException, OutOfMemoryException, EventSourceException, ArrayTypeMismatchException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
FormatException
SocketException
OutOfMemoryException
EventSourceException
ArrayTypeMismatchException
-
SendTo
public int SendTo(JCORefOut dupParam0, int dupParam1, int dupParam2, SocketFlags dupParam3, EndPoint dupParam4) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, SocketException, OutOfMemoryException, EventSourceException, ArrayTypeMismatchException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
FormatException
SocketException
OutOfMemoryException
EventSourceException
ArrayTypeMismatchException
-
SendTo
public int SendTo(byte[] buffer, int size, SocketFlags socketFlags, EndPoint remoteEP) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, SocketException, OutOfMemoryException, ArrayTypeMismatchException
-
SendTo
public int SendTo(JCORefOut dupParam0, int dupParam1, SocketFlags dupParam2, EndPoint dupParam3) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, SocketException, OutOfMemoryException, ArrayTypeMismatchException
-
SendTo
public int SendTo(byte[] buffer, EndPoint remoteEP) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, SocketException, OutOfMemoryException, ArrayTypeMismatchException
-
SendTo
public int SendTo(JCORefOut dupParam0, EndPoint dupParam1) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, SocketException, OutOfMemoryException, ArrayTypeMismatchException
-
SendTo
public int SendTo(byte[] buffer, SocketFlags socketFlags, EndPoint remoteEP) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, SocketException, OutOfMemoryException, ArrayTypeMismatchException
-
SendTo
public int SendTo(JCORefOut dupParam0, SocketFlags dupParam1, EndPoint dupParam2) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, SocketException, OutOfMemoryException, ArrayTypeMismatchException
-
BeginAccept
public IAsyncResult BeginAccept(int receiveSize, AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, EventSourceException
- Throws:
java.lang.Throwable
ArgumentNullException
PlatformNotSupportedException
EventSourceException
-
BeginAccept
public IAsyncResult BeginAccept(AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, ObjectDisposedException, ArgumentException, InvalidOperationException, ArrayTypeMismatchException, SocketException, NotSupportedException
-
BeginAccept
public IAsyncResult BeginAccept(Socket acceptSocket, int receiveSize, AsyncCallback callback, NetObject state) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, EventSourceException
-
BeginConnect
public IAsyncResult BeginConnect(EndPoint remoteEP, AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, ObjectDisposedException, ArgumentException, InvalidOperationException, SocketException, NotSupportedException, FormatException, ArrayTypeMismatchException
-
BeginConnect
public IAsyncResult BeginConnect(IPAddress address, int port, AsyncCallback requestCallback, NetObject state) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, SocketException, EventSourceException
-
BeginConnect
public IAsyncResult BeginConnect(IPAddress[] addresses, int port, AsyncCallback requestCallback, NetObject state) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, SocketException, EventSourceException
-
BeginConnect
public IAsyncResult BeginConnect(java.lang.String host, int port, AsyncCallback requestCallback, NetObject state) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, ObjectDisposedException, SocketException, EventSourceException
-
BeginDisconnect
public IAsyncResult BeginDisconnect(boolean reuseSocket, AsyncCallback callback, NetObject state) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, InvalidOperationException, OutOfMemoryException, ObjectDisposedException, SocketException, FormatException
-
BeginReceive
public IAsyncResult BeginReceive(byte[] buffer, int offset, int size, SocketFlags socketFlags, AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, ArrayTypeMismatchException, OutOfMemoryException
-
BeginReceive
public IAsyncResult BeginReceive(JCORefOut dupParam0, int dupParam1, int dupParam2, SocketFlags dupParam3, AsyncCallback dupParam4, NetObject dupParam5) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, ArrayTypeMismatchException, OutOfMemoryException
-
BeginReceive
public IAsyncResult BeginReceive(byte[] buffer, int offset, int size, SocketFlags socketFlags, JCORefOut<SocketError> errorCode, AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, ArrayTypeMismatchException, OutOfMemoryException
-
BeginReceiveFrom
public IAsyncResult BeginReceiveFrom(byte[] buffer, int offset, int size, SocketFlags socketFlags, JCORefOut<EndPoint> remoteEP, AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, SocketException, ArrayTypeMismatchException, OutOfMemoryException, EventSourceException, TaskSchedulerException, OperationCanceledException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
FormatException
SocketException
ArrayTypeMismatchException
OutOfMemoryException
EventSourceException
TaskSchedulerException
OperationCanceledException
-
BeginReceiveMessageFrom
public IAsyncResult BeginReceiveMessageFrom(byte[] buffer, int offset, int size, SocketFlags socketFlags, JCORefOut<EndPoint> remoteEP, AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, OutOfMemoryException, FormatException, EventSourceException, ObjectDisposedException, SocketException, ArrayTypeMismatchException, TaskSchedulerException, OperationCanceledException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
PlatformNotSupportedException
OutOfMemoryException
FormatException
EventSourceException
ObjectDisposedException
SocketException
ArrayTypeMismatchException
TaskSchedulerException
OperationCanceledException
-
BeginSend
public IAsyncResult BeginSend(byte[] buffer, int offset, int size, SocketFlags socketFlags, AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, OutOfMemoryException, ArrayTypeMismatchException
-
BeginSend
public IAsyncResult BeginSend(JCORefOut dupParam0, int dupParam1, int dupParam2, SocketFlags dupParam3, AsyncCallback dupParam4, NetObject dupParam5) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, OutOfMemoryException, ArrayTypeMismatchException
-
BeginSend
public IAsyncResult BeginSend(byte[] buffer, int offset, int size, SocketFlags socketFlags, JCORefOut<SocketError> errorCode, AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, OutOfMemoryException, ArrayTypeMismatchException
-
BeginSendFile
public IAsyncResult BeginSendFile(java.lang.String fileName, byte[] preBuffer, byte[] postBuffer, TransmitFileOptions flags, AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, ArgumentNullException, EventSourceException, SocketException, ArrayTypeMismatchException, SerializationException, IOException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
PlatformNotSupportedException
IndexOutOfRangeException
OutOfMemoryException
FormatException
ArgumentNullException
EventSourceException
SocketException
ArrayTypeMismatchException
SerializationException
IOException
-
BeginSendFile
public IAsyncResult BeginSendFile(java.lang.String dupParam0, JCORefOut dupParam1, JCORefOut dupParam2, TransmitFileOptions dupParam3, AsyncCallback dupParam4, NetObject dupParam5) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, ArgumentNullException, EventSourceException, SocketException, ArrayTypeMismatchException, SerializationException, IOException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
PlatformNotSupportedException
IndexOutOfRangeException
OutOfMemoryException
FormatException
ArgumentNullException
EventSourceException
SocketException
ArrayTypeMismatchException
SerializationException
IOException
-
BeginSendFile
public IAsyncResult BeginSendFile(java.lang.String fileName, AsyncCallback callback, NetObject state) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, InvalidOperationException, FormatException, ArgumentOutOfRangeException, ArgumentNullException, EventSourceException, SocketException, ArrayTypeMismatchException, SerializationException, IOException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ObjectDisposedException
PlatformNotSupportedException
IndexOutOfRangeException
OutOfMemoryException
InvalidOperationException
FormatException
ArgumentOutOfRangeException
ArgumentNullException
EventSourceException
SocketException
ArrayTypeMismatchException
SerializationException
IOException
-
BeginSendTo
public IAsyncResult BeginSendTo(byte[] buffer, int offset, int size, SocketFlags socketFlags, EndPoint remoteEP, AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, ArrayTypeMismatchException, OutOfMemoryException, SocketException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
FormatException
ArrayTypeMismatchException
OutOfMemoryException
SocketException
-
BeginSendTo
public IAsyncResult BeginSendTo(JCORefOut dupParam0, int dupParam1, int dupParam2, SocketFlags dupParam3, EndPoint dupParam4, AsyncCallback dupParam5, NetObject dupParam6) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, ArrayTypeMismatchException, OutOfMemoryException, SocketException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
FormatException
ArrayTypeMismatchException
OutOfMemoryException
SocketException
-
Accept
public Socket Accept() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, SocketException, OutOfMemoryException, PlatformNotSupportedException, FormatException, EventSourceException, ArgumentNullException, ArrayTypeMismatchException
-
EndAccept
public Socket EndAccept(JCORefOut buffer, JCORefOut<java.util.concurrent.atomic.AtomicInteger> bytesTransferred, IAsyncResult asyncResult) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, EventSourceException, InvalidOperationException, TaskSchedulerException, TaskCanceledException, AggregateException
-
EndAccept
public Socket EndAccept(JCORefOut buffer, IAsyncResult asyncResult) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, TaskSchedulerException, PlatformNotSupportedException, TaskCanceledException, ArgumentOutOfRangeException, AggregateException, IndexOutOfRangeException, FormatException
-
EndAccept
public Socket EndAccept(IAsyncResult asyncResult) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, EventSourceException, InvalidOperationException, TaskSchedulerException, TaskCanceledException, AggregateException
-
DuplicateAndClose
public SocketInformation DuplicateAndClose(int targetProcessId) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, IndexOutOfRangeException, FormatException, SocketException, PlatformNotSupportedException, OutOfMemoryException, ArgumentNullException, EventSourceException, ArrayTypeMismatchException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
IndexOutOfRangeException
FormatException
SocketException
PlatformNotSupportedException
OutOfMemoryException
ArgumentNullException
EventSourceException
ArrayTypeMismatchException
-
GetSocketOption
public NetObject GetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, ArgumentNullException, EventSourceException, SocketException, ArrayTypeMismatchException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
PlatformNotSupportedException
IndexOutOfRangeException
OutOfMemoryException
FormatException
ArgumentNullException
EventSourceException
SocketException
ArrayTypeMismatchException
-
ConnectAsync
public Task ConnectAsync(EndPoint remoteEP) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, InvalidOperationException, OutOfMemoryException, ObjectDisposedException, SocketException, FormatException, ArrayTypeMismatchException
-
ConnectAsync
public Task ConnectAsync(IPAddress address, int port) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, ObjectDisposedException, SocketException, FormatException, ArrayTypeMismatchException
-
ConnectAsync
public Task ConnectAsync(IPAddress[] addresses, int port) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, SocketException, ArgumentNullException
-
ConnectAsync
public Task ConnectAsync(java.lang.String host, int port) 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
-
ConnectAsync
public ValueTask ConnectAsync(EndPoint remoteEP, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, OutOfMemoryException, FormatException, EventSourceException, ObjectDisposedException, SocketException, ArrayTypeMismatchException
-
ConnectAsync
public ValueTask ConnectAsync(IPAddress address, int port, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, OutOfMemoryException, ObjectDisposedException, SocketException, FormatException, ArrayTypeMismatchException
-
ConnectAsync
public ValueTask ConnectAsync(IPAddress[] addresses, int port, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, IndexOutOfRangeException, FormatException, SocketException, ArgumentNullException
-
ConnectAsync
public ValueTask ConnectAsync(java.lang.String host, int port, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, OutOfMemoryException, FormatException, SocketException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
IndexOutOfRangeException
OutOfMemoryException
FormatException
SocketException
-
DisconnectAsync
public ValueTask DisconnectAsync(boolean reuseSocket, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, OutOfMemoryException, FormatException, EventSourceException, ObjectDisposedException, OverflowException, SocketException
-
SendFileAsync
public ValueTask SendFileAsync(java.lang.String fileName, CancellationToken cancellationToken) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, InvalidOperationException, IndexOutOfRangeException, OutOfMemoryException, ObjectDisposedException, SocketException, ArrayTypeMismatchException, SerializationException, IOException, FormatException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
PlatformNotSupportedException
InvalidOperationException
IndexOutOfRangeException
OutOfMemoryException
ObjectDisposedException
SocketException
ArrayTypeMismatchException
SerializationException
IOException
FormatException
-
Bind
public void Bind(EndPoint localEP) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, OutOfMemoryException, IndexOutOfRangeException, FormatException, EventSourceException, ObjectDisposedException, ArgumentNullException, SocketException, ArrayTypeMismatchException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
NotSupportedException
InvalidOperationException
ArgumentException
ArgumentOutOfRangeException
OutOfMemoryException
IndexOutOfRangeException
FormatException
EventSourceException
ObjectDisposedException
ArgumentNullException
SocketException
ArrayTypeMismatchException
-
CancelConnectAsync
public static void CancelConnectAsync(SocketAsyncEventArgs e) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, AggregateException, IndexOutOfRangeException, FormatException, EventSourceException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
AggregateException
IndexOutOfRangeException
FormatException
EventSourceException
-
Close
public void Close() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, OutOfMemoryException, FormatException, EventSourceException, ObjectDisposedException, ArrayTypeMismatchException
-
Close
public void Close(int timeout) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, OutOfMemoryException, EventSourceException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
FormatException
OutOfMemoryException
EventSourceException
-
Connect
public void Connect(EndPoint remoteEP) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, SocketException, PlatformNotSupportedException, OutOfMemoryException, FormatException, ArgumentNullException, EventSourceException, ArrayTypeMismatchException
-
Connect
public void Connect(IPAddress address, int port) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, SocketException, PlatformNotSupportedException, ArgumentNullException, FormatException, ArrayTypeMismatchException
-
Connect
public void Connect(IPAddress[] addresses, int port) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, SocketException, PlatformNotSupportedException, ArgumentNullException, FormatException, ArrayTypeMismatchException
-
Connect
public void Connect(java.lang.String host, int port) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, SocketException, ArgumentNullException
-
Disconnect
public void Disconnect(boolean reuseSocket) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, IndexOutOfRangeException, OverflowException, FormatException, PlatformNotSupportedException, SocketException, OutOfMemoryException, ArgumentNullException, EventSourceException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
IndexOutOfRangeException
OverflowException
FormatException
PlatformNotSupportedException
SocketException
OutOfMemoryException
ArgumentNullException
EventSourceException
-
Dispose
public void Dispose() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, OutOfMemoryException, FormatException, EventSourceException, ObjectDisposedException, ArrayTypeMismatchException
-
EndConnect
public void EndConnect(IAsyncResult asyncResult) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, EventSourceException, InvalidOperationException, TaskSchedulerException, TaskCanceledException, AggregateException
-
EndDisconnect
public void EndDisconnect(IAsyncResult asyncResult) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, EventSourceException, InvalidOperationException, TaskSchedulerException, TaskCanceledException, AggregateException
-
EndSendFile
public void EndSendFile(IAsyncResult asyncResult) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, EventSourceException, InvalidOperationException, TaskSchedulerException, TaskCanceledException, AggregateException
-
GetSocketOption
public void GetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, byte[] optionValue) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArrayTypeMismatchException, ArgumentNullException, PlatformNotSupportedException, OutOfMemoryException, FormatException, EventSourceException, SocketException
-
GetSocketOption
public void GetSocketOption(SocketOptionLevel dupParam0, SocketOptionName dupParam1, JCORefOut dupParam2) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArrayTypeMismatchException, ArgumentNullException, PlatformNotSupportedException, OutOfMemoryException, FormatException, EventSourceException, SocketException
-
Listen
public void Listen() throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, InvalidOperationException, ArgumentException, ArrayTypeMismatchException, FormatException, EventSourceException, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException
- Throws:
java.lang.Throwable
NotSupportedException
PlatformNotSupportedException
IndexOutOfRangeException
OutOfMemoryException
InvalidOperationException
ArgumentException
ArrayTypeMismatchException
FormatException
EventSourceException
ArgumentOutOfRangeException
ObjectDisposedException
ArgumentNullException
-
Listen
public void Listen(int backlog) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, OutOfMemoryException, IndexOutOfRangeException, FormatException, EventSourceException, ObjectDisposedException, ArgumentNullException
-
Select
public static void Select(IList checkRead, IList checkWrite, IList checkError, int microSeconds) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, NotSupportedException, ArrayTypeMismatchException, OutOfMemoryException, FormatException, EventSourceException, SocketException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
NotSupportedException
ArrayTypeMismatchException
OutOfMemoryException
FormatException
EventSourceException
SocketException
-
Select
public static void Select(IList checkRead, IList checkWrite, IList checkError, TimeSpan timeout) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException, ArgumentNullException, OutOfMemoryException, EventSourceException, SocketException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
IndexOutOfRangeException
FormatException
ArgumentNullException
OutOfMemoryException
EventSourceException
SocketException
-
SendFile
public void SendFile(java.lang.String fileName, byte[] preBuffer, byte[] postBuffer, TransmitFileOptions flags) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArrayTypeMismatchException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, ArgumentNullException, EventSourceException, SocketException, SerializationException, IOException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArrayTypeMismatchException
ObjectDisposedException
PlatformNotSupportedException
IndexOutOfRangeException
OutOfMemoryException
FormatException
ArgumentNullException
EventSourceException
SocketException
SerializationException
IOException
-
SendFile
public void SendFile(java.lang.String dupParam0, JCORefOut dupParam1, JCORefOut dupParam2, TransmitFileOptions dupParam3) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArrayTypeMismatchException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, ArgumentNullException, EventSourceException, SocketException, SerializationException, IOException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArrayTypeMismatchException
ObjectDisposedException
PlatformNotSupportedException
IndexOutOfRangeException
OutOfMemoryException
FormatException
ArgumentNullException
EventSourceException
SocketException
SerializationException
IOException
-
SendFile
public void SendFile(java.lang.String fileName) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, InvalidOperationException, FormatException, ArgumentOutOfRangeException, ArgumentNullException, EventSourceException, SocketException, ArrayTypeMismatchException, SerializationException, IOException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ObjectDisposedException
PlatformNotSupportedException
IndexOutOfRangeException
OutOfMemoryException
InvalidOperationException
FormatException
ArgumentOutOfRangeException
ArgumentNullException
EventSourceException
SocketException
ArrayTypeMismatchException
SerializationException
IOException
-
SetIPProtectionLevel
public void SetIPProtectionLevel(IPProtectionLevel level) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, ArrayTypeMismatchException, SocketException, NotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
IndexOutOfRangeException
OutOfMemoryException
FormatException
EventSourceException
ArrayTypeMismatchException
SocketException
NotSupportedException
-
SetSocketOption
public void SetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, boolean optionValue) 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
-
SetSocketOption
public void SetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, byte[] optionValue) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, OutOfMemoryException, FormatException, ArgumentNullException, EventSourceException, ArrayTypeMismatchException, SocketException
-
SetSocketOption
public void SetSocketOption(SocketOptionLevel dupParam0, SocketOptionName dupParam1, JCORefOut dupParam2) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, OutOfMemoryException, FormatException, ArgumentNullException, EventSourceException, ArrayTypeMismatchException, SocketException
-
SetSocketOption
public void SetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, int optionValue) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, OutOfMemoryException, FormatException, ArgumentNullException, EventSourceException, ArrayTypeMismatchException, SocketException
-
SetSocketOption
public void SetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, NetObject optionValue) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, OutOfMemoryException, FormatException, ArgumentNullException, EventSourceException, SocketException, ArrayTypeMismatchException
-
Shutdown
public void Shutdown(SocketShutdown how) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, OutOfMemoryException, FormatException, ArgumentNullException, EventSourceException, SocketException
-
close
public void close() throws java.lang.Exception
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Throws:
java.lang.Exception
-
getBlocking
public boolean getBlocking() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setBlocking
public void setBlocking(boolean Blocking) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, OutOfMemoryException, FormatException, ArgumentNullException, EventSourceException, SocketException
-
getConnected
public boolean getConnected() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, OutOfMemoryException, FormatException, EventSourceException, ObjectDisposedException, SocketException
-
getDontFragment
public boolean getDontFragment() 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
-
setDontFragment
public void setDontFragment(boolean DontFragment) 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
-
getDualMode
public boolean getDualMode() 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
-
setDualMode
public void setDualMode(boolean DualMode) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, NotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, ArrayTypeMismatchException, SocketException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
NotSupportedException
IndexOutOfRangeException
OutOfMemoryException
FormatException
EventSourceException
ArrayTypeMismatchException
SocketException
-
getEnableBroadcast
public boolean getEnableBroadcast() 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
-
setEnableBroadcast
public void setEnableBroadcast(boolean EnableBroadcast) 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
-
getExclusiveAddressUse
public boolean getExclusiveAddressUse() 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
-
setExclusiveAddressUse
public void setExclusiveAddressUse(boolean ExclusiveAddressUse) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, NotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, ArrayTypeMismatchException, SocketException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
NotSupportedException
IndexOutOfRangeException
OutOfMemoryException
FormatException
EventSourceException
ArrayTypeMismatchException
SocketException
-
getIsBound
public boolean getIsBound() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getMulticastLoopback
public boolean getMulticastLoopback() 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
-
setMulticastLoopback
public void setMulticastLoopback(boolean MulticastLoopback) 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
-
getNoDelay
public boolean getNoDelay() 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
-
setNoDelay
public void setNoDelay(boolean NoDelay) 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
-
getOSSupportsIPv4
public static boolean getOSSupportsIPv4() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getOSSupportsIPv6
public static boolean getOSSupportsIPv6() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getOSSupportsUnixDomainSockets
public static boolean getOSSupportsUnixDomainSockets() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSupportsIPv4
public static boolean getSupportsIPv4() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSupportsIPv6
public static boolean getSupportsIPv6() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getUseOnlyOverlappedIO
public boolean getUseOnlyOverlappedIO() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setUseOnlyOverlappedIO
public void setUseOnlyOverlappedIO(boolean UseOnlyOverlappedIO) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getTtl
public short getTtl() 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
-
setTtl
public void setTtl(short Ttl) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, OutOfMemoryException, EventSourceException, SocketException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
FormatException
OutOfMemoryException
EventSourceException
SocketException
-
getAvailable
public int getAvailable() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, OutOfMemoryException, FormatException, 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, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, SocketException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
OutOfMemoryException
FormatException
EventSourceException
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, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, OutOfMemoryException, EventSourceException, SocketException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
FormatException
OutOfMemoryException
EventSourceException
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, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, SocketException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
OutOfMemoryException
FormatException
EventSourceException
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, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, OutOfMemoryException, EventSourceException, SocketException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
FormatException
OutOfMemoryException
EventSourceException
SocketException
-
getLocalEndPoint
public EndPoint getLocalEndPoint() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, SocketException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, ArgumentNullException, ArrayTypeMismatchException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
SocketException
PlatformNotSupportedException
IndexOutOfRangeException
OutOfMemoryException
FormatException
EventSourceException
ArgumentNullException
ArrayTypeMismatchException
-
getRemoteEndPoint
public EndPoint getRemoteEndPoint() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, SocketException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, ArgumentNullException, ArrayTypeMismatchException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
SocketException
PlatformNotSupportedException
IndexOutOfRangeException
OutOfMemoryException
FormatException
EventSourceException
ArgumentNullException
ArrayTypeMismatchException
-
getAddressFamily
public AddressFamily getAddressFamily() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getLingerState
public LingerOption getLingerState() 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
-
setLingerState
public void setLingerState(LingerOption LingerState) 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
-
getProtocolType
public ProtocolType getProtocolType() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSafeHandle
public SafeSocketHandle getSafeHandle() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSocketType
public SocketType getSocketType() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-