public class Socket extends NetObject implements java.lang.AutoCloseable
.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
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Net.Sockets, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Net.Sockets
|
static java.lang.String |
className
Qualified class name: System.Net.Sockets.Socket
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Socket() |
Socket(AddressFamily addressFamily,
SocketType socketType,
ProtocolType protocolType) |
Socket(java.lang.Object instance)
Internal constructor.
|
Socket(SafeSocketHandle handle) |
Socket(SocketInformation socketInformation) |
Socket(SocketType socketType,
ProtocolType protocolType) |
| Modifier and Type | Method and Description |
|---|---|
Socket |
Accept() |
boolean |
AcceptAsync(SocketAsyncEventArgs e) |
IAsyncResult |
BeginAccept(AsyncCallback callback,
NetObject state) |
IAsyncResult |
BeginAccept(int receiveSize,
AsyncCallback callback,
NetObject state) |
IAsyncResult |
BeginAccept(Socket acceptSocket,
int receiveSize,
AsyncCallback callback,
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 |
BeginConnect(java.lang.String host,
int port,
AsyncCallback requestCallback,
NetObject state) |
IAsyncResult |
BeginDisconnect(boolean reuseSocket,
AsyncCallback callback,
NetObject state) |
IAsyncResult |
BeginReceive(byte[] buffer,
int offset,
int size,
SocketFlags socketFlags,
AsyncCallback callback,
NetObject state) |
IAsyncResult |
BeginReceive(byte[] buffer,
int offset,
int size,
SocketFlags socketFlags,
JCORefOut<SocketError> errorCode,
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,
AsyncCallback callback,
NetObject state) |
IAsyncResult |
BeginSend(byte[] buffer,
int offset,
int size,
SocketFlags socketFlags,
JCORefOut<SocketError> errorCode,
AsyncCallback callback,
NetObject state) |
IAsyncResult |
BeginSend(JCORefOut dupParam0,
int dupParam1,
int dupParam2,
SocketFlags dupParam3,
AsyncCallback dupParam4,
NetObject dupParam5) |
IAsyncResult |
BeginSendFile(java.lang.String fileName,
AsyncCallback callback,
NetObject state) |
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 |
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 the
IJCOBridgeReflected instance into Socket, a cast assert is made to check if types are compatible. |
void |
close() |
void |
Close() |
void |
Close(int timeout) |
void |
Connect(EndPoint remoteEP) |
void |
Connect(IPAddress[] addresses,
int port) |
void |
Connect(IPAddress address,
int port) |
void |
Connect(java.lang.String host,
int port) |
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) |
Task |
ConnectAsync(java.lang.String host,
int port) |
ValueTask |
ConnectAsync(java.lang.String host,
int port,
CancellationToken cancellationToken) |
void |
Disconnect(boolean reuseSocket) |
ValueTask |
DisconnectAsync(boolean reuseSocket,
CancellationToken cancellationToken) |
boolean |
DisconnectAsync(SocketAsyncEventArgs e) |
void |
Dispose() |
SocketInformation |
DuplicateAndClose(int targetProcessId) |
Socket |
EndAccept(IAsyncResult asyncResult) |
Socket |
EndAccept(JCORefOut buffer,
IAsyncResult asyncResult) |
Socket |
EndAccept(JCORefOut buffer,
JCORefOut<java.util.concurrent.atomic.AtomicInteger> bytesTransferred,
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 name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
LingerOption |
getLingerState() |
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,
EndPoint remoteEP) |
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,
SocketFlags socketFlags,
EndPoint remoteEP) |
int |
SendTo(JCORefOut dupParam0,
EndPoint dupParam1) |
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,
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) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public Socket()
throws java.lang.Throwable
java.lang.Throwablepublic Socket(AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, IndexOutOfRangeException, OutOfMemoryException, ArrayTypeMismatchException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, FormatException, EventSourceException, KeyNotFoundException, SocketException, ObjectDisposedException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionArrayTypeMismatchExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionFormatExceptionEventSourceExceptionKeyNotFoundExceptionSocketExceptionObjectDisposedExceptionpublic Socket(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic Socket(SafeSocketHandle handle) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, SocketException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
public Socket(SocketInformation socketInformation) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, SocketException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, ArrayTypeMismatchException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionSocketExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionArrayTypeMismatchExceptionpublic Socket(SocketType socketType, ProtocolType protocolType) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, IndexOutOfRangeException, OutOfMemoryException, ArrayTypeMismatchException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, EventSourceException, SocketException, ObjectDisposedException, CultureNotFoundException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionArrayTypeMismatchExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionFormatExceptionEventSourceExceptionSocketExceptionObjectDisposedExceptionCultureNotFoundExceptionpublic Socket Accept() throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, SocketException, OutOfMemoryException, FormatException, EventSourceException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionSocketExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionpublic boolean AcceptAsync(SocketAsyncEventArgs e) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException, FormatException, EventSourceException, SocketException, NullReferenceException, ArrayTypeMismatchException, OverflowException, ArgumentNullException, ArgumentOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSocketExceptionNullReferenceExceptionArrayTypeMismatchExceptionOverflowExceptionArgumentNullExceptionArgumentOutOfRangeExceptionpublic IAsyncResult BeginAccept(AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ObjectDisposedException, ArgumentException, InvalidOperationException, ArrayTypeMismatchException, SocketException
public IAsyncResult BeginAccept(int receiveSize, AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, NotSupportedException, EventSourceException
java.lang.ThrowableArgumentNullExceptionPlatformNotSupportedExceptionNotSupportedExceptionEventSourceExceptionpublic IAsyncResult BeginAccept(Socket acceptSocket, int receiveSize, AsyncCallback callback, NetObject state) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, NullReferenceException, InvalidOperationException, EventSourceException
public IAsyncResult BeginConnect(EndPoint remoteEP, AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ObjectDisposedException, ArgumentException, InvalidOperationException, SocketException, FormatException
public IAsyncResult BeginConnect(IPAddress[] addresses, int port, AsyncCallback requestCallback, NetObject state) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, SocketException, NotSupportedException, NullReferenceException, EventSourceException
public IAsyncResult BeginConnect(IPAddress address, int port, AsyncCallback requestCallback, NetObject state) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NullReferenceException, ObjectDisposedException, InvalidOperationException, SocketException, EventSourceException
public IAsyncResult BeginConnect(java.lang.String host, int port, AsyncCallback requestCallback, NetObject state) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, NullReferenceException, ObjectDisposedException, SocketException, EventSourceException
public IAsyncResult BeginDisconnect(boolean reuseSocket, AsyncCallback callback, NetObject state) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, NullReferenceException, InvalidOperationException, OutOfMemoryException, ObjectDisposedException, SocketException, IndexOutOfRangeException, FormatException
public IAsyncResult BeginReceive(byte[] buffer, int offset, int size, SocketFlags socketFlags, AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, FormatException, NullReferenceException, OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionNullReferenceExceptionOutOfMemoryExceptionpublic IAsyncResult BeginReceive(byte[] buffer, int offset, int size, SocketFlags socketFlags, JCORefOut<SocketError> errorCode, AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, FormatException, NullReferenceException, OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionNullReferenceExceptionOutOfMemoryExceptionpublic IAsyncResult BeginReceive(JCORefOut dupParam0, int dupParam1, int dupParam2, SocketFlags dupParam3, AsyncCallback dupParam4, NetObject dupParam5) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, FormatException, NullReferenceException, OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionNullReferenceExceptionOutOfMemoryExceptionpublic IAsyncResult BeginReceiveFrom(byte[] buffer, int offset, int size, SocketFlags socketFlags, JCORefOut<EndPoint> remoteEP, AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, FormatException, SocketException, NullReferenceException, OutOfMemoryException, EventSourceException, TaskSchedulerException, ThreadStateException, OperationCanceledException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionSocketExceptionNullReferenceExceptionOutOfMemoryExceptionEventSourceExceptionTaskSchedulerExceptionThreadStateExceptionOperationCanceledExceptionpublic IAsyncResult BeginReceiveMessageFrom(byte[] buffer, int offset, int size, SocketFlags socketFlags, JCORefOut<EndPoint> remoteEP, AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, KeyNotFoundException, SocketException, TaskSchedulerException, ThreadStateException, OperationCanceledException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionKeyNotFoundExceptionSocketExceptionTaskSchedulerExceptionThreadStateExceptionOperationCanceledExceptionpublic IAsyncResult BeginSend(byte[] buffer, int offset, int size, SocketFlags socketFlags, AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, FormatException, NullReferenceException, OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionNullReferenceExceptionOutOfMemoryExceptionpublic IAsyncResult BeginSend(byte[] buffer, int offset, int size, SocketFlags socketFlags, JCORefOut<SocketError> errorCode, AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, FormatException, NullReferenceException, OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionNullReferenceExceptionOutOfMemoryExceptionpublic IAsyncResult BeginSend(JCORefOut dupParam0, int dupParam1, int dupParam2, SocketFlags dupParam3, AsyncCallback dupParam4, NetObject dupParam5) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, FormatException, NullReferenceException, OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionNullReferenceExceptionOutOfMemoryExceptionpublic IAsyncResult BeginSendFile(java.lang.String fileName, AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, FormatException, EventSourceException, SocketException, SerializationException, IOException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSocketExceptionSerializationExceptionIOExceptionpublic IAsyncResult BeginSendFile(java.lang.String fileName, byte[] preBuffer, byte[] postBuffer, TransmitFileOptions flags, AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, SocketException, SerializationException, IOException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSocketExceptionSerializationExceptionIOExceptionpublic IAsyncResult BeginSendFile(java.lang.String dupParam0, JCORefOut dupParam1, JCORefOut dupParam2, TransmitFileOptions dupParam3, AsyncCallback dupParam4, NetObject dupParam5) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, SocketException, SerializationException, IOException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSocketExceptionSerializationExceptionIOExceptionpublic IAsyncResult BeginSendTo(byte[] buffer, int offset, int size, SocketFlags socketFlags, EndPoint remoteEP, AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, FormatException, NullReferenceException, OutOfMemoryException, SocketException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionNullReferenceExceptionOutOfMemoryExceptionSocketExceptionpublic IAsyncResult BeginSendTo(JCORefOut dupParam0, int dupParam1, int dupParam2, SocketFlags dupParam3, EndPoint dupParam4, AsyncCallback dupParam5, NetObject dupParam6) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, FormatException, NullReferenceException, OutOfMemoryException, SocketException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionNullReferenceExceptionOutOfMemoryExceptionSocketExceptionpublic void Bind(EndPoint localEP) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, IndexOutOfRangeException, OutOfMemoryException, ArrayTypeMismatchException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, FormatException, EventSourceException, KeyNotFoundException, ObjectDisposedException, SocketException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionArrayTypeMismatchExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionFormatExceptionEventSourceExceptionKeyNotFoundExceptionObjectDisposedExceptionSocketExceptionpublic static void CancelConnectAsync(SocketAsyncEventArgs e) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, NullReferenceException, AggregateException, FormatException, EventSourceException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionNullReferenceExceptionAggregateExceptionFormatExceptionEventSourceExceptionpublic static Socket cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Socket, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedSocket instancejava.lang.Throwable - in case of error during cast operationpublic void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exceptionpublic void Close()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException,
OutOfMemoryException,
FormatException,
EventSourceException,
KeyNotFoundException,
ObjectDisposedException,
ArrayTypeMismatchException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionKeyNotFoundExceptionObjectDisposedExceptionArrayTypeMismatchExceptionpublic void Close(int timeout)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException,
EventSourceException,
KeyNotFoundException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionEventSourceExceptionKeyNotFoundExceptionpublic void Connect(EndPoint remoteEP) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, SocketException, OutOfMemoryException, FormatException, EventSourceException, KeyNotFoundException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionSocketExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionKeyNotFoundExceptionpublic void Connect(IPAddress[] addresses, int port) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, SocketException, OutOfMemoryException, FormatException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionSocketExceptionOutOfMemoryExceptionFormatExceptionpublic void Connect(IPAddress address, int port) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, SocketException, OutOfMemoryException, FormatException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionSocketExceptionOutOfMemoryExceptionFormatExceptionpublic void Connect(java.lang.String host,
int port)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException,
IndexOutOfRangeException,
OutOfMemoryException,
FormatException,
SocketException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionSocketExceptionpublic Task ConnectAsync(EndPoint remoteEP) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, NullReferenceException, InvalidOperationException, OutOfMemoryException, ObjectDisposedException, SocketException, FormatException, ArrayTypeMismatchException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionNullReferenceExceptionInvalidOperationExceptionOutOfMemoryExceptionObjectDisposedExceptionSocketExceptionFormatExceptionArrayTypeMismatchExceptionpublic ValueTask ConnectAsync(EndPoint remoteEP, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, NullReferenceException, OutOfMemoryException, FormatException, EventSourceException, ObjectDisposedException, SocketException, ArrayTypeMismatchException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionNullReferenceExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionObjectDisposedExceptionSocketExceptionArrayTypeMismatchExceptionpublic Task ConnectAsync(IPAddress[] addresses, int port) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, ObjectDisposedException, ArgumentOutOfRangeException, InvalidOperationException, SocketException, ArgumentNullException
public ValueTask ConnectAsync(IPAddress[] addresses, int port, CancellationToken cancellationToken) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, IndexOutOfRangeException, FormatException, SocketException
public Task ConnectAsync(IPAddress address, int port) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, NullReferenceException, ObjectDisposedException, SocketException, FormatException
public ValueTask ConnectAsync(IPAddress address, int port, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, NullReferenceException, OutOfMemoryException, ObjectDisposedException, SocketException, FormatException, ArrayTypeMismatchException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionNullReferenceExceptionOutOfMemoryExceptionObjectDisposedExceptionSocketExceptionFormatExceptionArrayTypeMismatchExceptionpublic boolean ConnectAsync(SocketAsyncEventArgs e) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, SocketException, ArgumentNullException, EventSourceException, ArgumentOutOfRangeException, FormatException, IndexOutOfRangeException, ArrayTypeMismatchException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationExceptionSocketExceptionArgumentNullExceptionEventSourceExceptionArgumentOutOfRangeExceptionFormatExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionpublic 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
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSocketExceptionTaskSchedulerExceptionpublic Task ConnectAsync(java.lang.String host, int port) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, NullReferenceException, ObjectDisposedException, SocketException
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, NullReferenceException, SocketException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionNullReferenceExceptionSocketExceptionpublic void Disconnect(boolean reuseSocket)
throws java.lang.Throwable,
PlatformNotSupportedException,
ObjectDisposedException,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
NotSupportedException,
OverflowException,
FormatException,
InvalidOperationException,
SocketException,
NullReferenceException,
OutOfMemoryException,
EventSourceException,
KeyNotFoundException
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionOverflowExceptionFormatExceptionInvalidOperationExceptionSocketExceptionNullReferenceExceptionOutOfMemoryExceptionEventSourceExceptionKeyNotFoundExceptionpublic ValueTask DisconnectAsync(boolean reuseSocket, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, NullReferenceException, OutOfMemoryException, FormatException, EventSourceException, ObjectDisposedException, OverflowException, SocketException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionNullReferenceExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionObjectDisposedExceptionOverflowExceptionSocketExceptionpublic boolean DisconnectAsync(SocketAsyncEventArgs e) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, ObjectDisposedException, NullReferenceException, InvalidOperationException, OverflowException, FormatException, SocketException, ArgumentNullException, ArgumentOutOfRangeException, ArrayTypeMismatchException
public void Dispose()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException,
OutOfMemoryException,
FormatException,
EventSourceException,
KeyNotFoundException,
ObjectDisposedException,
ArrayTypeMismatchException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionKeyNotFoundExceptionObjectDisposedExceptionArrayTypeMismatchExceptionpublic SocketInformation DuplicateAndClose(int targetProcessId) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, InvalidOperationException, SocketException, ArgumentNullException, NotSupportedException, OutOfMemoryException, EventSourceException
public Socket EndAccept(IAsyncResult asyncResult) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, EventSourceException, InvalidOperationException, TaskSchedulerException, TaskCanceledException, AggregateException
public Socket EndAccept(JCORefOut buffer, IAsyncResult asyncResult) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, TaskSchedulerException, TaskCanceledException, AggregateException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionpublic Socket EndAccept(JCORefOut buffer, JCORefOut<java.util.concurrent.atomic.AtomicInteger> bytesTransferred, IAsyncResult asyncResult) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, EventSourceException, TaskSchedulerException, TaskCanceledException, AggregateException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionEventSourceExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionpublic void EndConnect(IAsyncResult asyncResult) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, EventSourceException, InvalidOperationException, TaskSchedulerException, TaskCanceledException, AggregateException
public void EndDisconnect(IAsyncResult asyncResult) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, EventSourceException, InvalidOperationException, TaskSchedulerException, TaskCanceledException, AggregateException
public int EndReceive(IAsyncResult asyncResult) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, EventSourceException, InvalidOperationException, TaskSchedulerException, TaskCanceledException, AggregateException
public int EndReceive(IAsyncResult asyncResult, JCORefOut<SocketError> errorCode) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, EventSourceException, TaskSchedulerException, TaskCanceledException, AggregateException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionEventSourceExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionpublic int EndReceiveFrom(IAsyncResult asyncResult, JCORefOut<EndPoint> endPoint) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, SocketException, TaskSchedulerException, TaskCanceledException, AggregateException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionSocketExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionpublic int EndReceiveMessageFrom(IAsyncResult asyncResult, JCORefOut<SocketFlags> socketFlags, JCORefOut<EndPoint> endPoint, JCORefOut<IPPacketInformation> ipPacketInformation) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, SocketException, TaskSchedulerException, TaskCanceledException, AggregateException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionSocketExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionpublic int EndSend(IAsyncResult asyncResult) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, EventSourceException, InvalidOperationException, TaskSchedulerException, TaskCanceledException, AggregateException
public int EndSend(IAsyncResult asyncResult, JCORefOut<SocketError> errorCode) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, EventSourceException, TaskSchedulerException, TaskCanceledException, AggregateException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionEventSourceExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionpublic void EndSendFile(IAsyncResult asyncResult) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, EventSourceException, InvalidOperationException, TaskSchedulerException, TaskCanceledException, AggregateException
public int EndSendTo(IAsyncResult asyncResult) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, EventSourceException, InvalidOperationException, TaskSchedulerException, TaskCanceledException, AggregateException
public AddressFamily getAddressFamily() throws java.lang.Throwable
java.lang.Throwablepublic int getAvailable()
throws java.lang.Throwable,
PlatformNotSupportedException,
ObjectDisposedException,
ArgumentNullException,
NotSupportedException,
ArgumentException,
IndexOutOfRangeException,
OutOfMemoryException,
ArrayTypeMismatchException,
ArgumentOutOfRangeException,
InvalidOperationException,
FormatException,
EventSourceException,
KeyNotFoundException,
SocketException
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionNotSupportedExceptionArgumentExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionArrayTypeMismatchExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionFormatExceptionEventSourceExceptionKeyNotFoundExceptionSocketExceptionpublic boolean getBlocking()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getConnected()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException,
OutOfMemoryException,
FormatException,
EventSourceException,
KeyNotFoundException,
ObjectDisposedException,
SocketException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionKeyNotFoundExceptionObjectDisposedExceptionSocketExceptionpublic boolean getDontFragment()
throws java.lang.Throwable,
PlatformNotSupportedException,
ObjectDisposedException,
ArgumentNullException,
OutOfMemoryException,
ArgumentOutOfRangeException,
ArgumentException,
FormatException,
InvalidOperationException,
EventSourceException,
SocketException,
NotSupportedException
public boolean getDualMode()
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
OutOfMemoryException,
InvalidOperationException,
FormatException,
ArgumentOutOfRangeException,
EventSourceException,
SocketException,
ArrayTypeMismatchException,
ArgumentNullException
public boolean getEnableBroadcast()
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
OutOfMemoryException,
InvalidOperationException,
FormatException,
ArgumentOutOfRangeException,
EventSourceException,
SocketException,
ArrayTypeMismatchException,
ArgumentNullException
public boolean getExclusiveAddressUse()
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
OutOfMemoryException,
InvalidOperationException,
FormatException,
ArgumentOutOfRangeException,
EventSourceException,
SocketException,
ArrayTypeMismatchException,
ArgumentNullException
public boolean getIsBound()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic LingerOption getLingerState() throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, ObjectDisposedException, OutOfMemoryException, InvalidOperationException, FormatException, ArgumentOutOfRangeException, EventSourceException, SocketException, ArrayTypeMismatchException, ArgumentNullException
public EndPoint getLocalEndPoint() throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, SocketException, OutOfMemoryException, ArgumentException, NotSupportedException, InvalidOperationException, FormatException, EventSourceException, ArgumentOutOfRangeException, ArrayTypeMismatchException
public boolean getMulticastLoopback()
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
OutOfMemoryException,
InvalidOperationException,
FormatException,
ArgumentOutOfRangeException,
EventSourceException,
SocketException,
ArrayTypeMismatchException,
ArgumentNullException
public boolean getNoDelay()
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
OutOfMemoryException,
InvalidOperationException,
FormatException,
ArgumentOutOfRangeException,
EventSourceException,
SocketException,
ArrayTypeMismatchException,
ArgumentNullException
public static boolean getOSSupportsIPv4()
throws java.lang.Throwable
java.lang.Throwablepublic static boolean getOSSupportsIPv6()
throws java.lang.Throwable
java.lang.Throwablepublic static boolean getOSSupportsUnixDomainSockets()
throws java.lang.Throwable
java.lang.Throwablepublic ProtocolType getProtocolType() throws java.lang.Throwable
java.lang.Throwablepublic int getReceiveBufferSize()
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
OutOfMemoryException,
InvalidOperationException,
FormatException,
ArgumentOutOfRangeException,
EventSourceException,
SocketException,
ArrayTypeMismatchException,
ArgumentNullException
public int getReceiveTimeout()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException,
OutOfMemoryException,
FormatException,
EventSourceException,
SocketException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSocketExceptionpublic EndPoint getRemoteEndPoint() throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, SocketException, OutOfMemoryException, ArgumentException, NotSupportedException, InvalidOperationException, FormatException, EventSourceException, ArgumentOutOfRangeException, ArrayTypeMismatchException
public SafeSocketHandle getSafeHandle() throws java.lang.Throwable
java.lang.Throwablepublic int getSendBufferSize()
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
OutOfMemoryException,
InvalidOperationException,
FormatException,
ArgumentOutOfRangeException,
EventSourceException,
SocketException,
ArrayTypeMismatchException,
ArgumentNullException
public int getSendTimeout()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException,
OutOfMemoryException,
FormatException,
EventSourceException,
SocketException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSocketExceptionpublic NetObject GetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, NotSupportedException, ArgumentException, IndexOutOfRangeException, OutOfMemoryException, ArrayTypeMismatchException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, EventSourceException, SocketException
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionNotSupportedExceptionArgumentExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionArrayTypeMismatchExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionFormatExceptionEventSourceExceptionSocketExceptionpublic void GetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, byte[] optionValue) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArrayTypeMismatchException, ArgumentNullException, NotSupportedException, ArgumentException, IndexOutOfRangeException, OutOfMemoryException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, EventSourceException, KeyNotFoundException, SocketException
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArrayTypeMismatchExceptionArgumentNullExceptionNotSupportedExceptionArgumentExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionFormatExceptionEventSourceExceptionKeyNotFoundExceptionSocketExceptionpublic byte[] GetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, int optionLength) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArrayTypeMismatchException, ArgumentNullException, NotSupportedException, ArgumentException, IndexOutOfRangeException, OutOfMemoryException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, EventSourceException, KeyNotFoundException, SocketException
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArrayTypeMismatchExceptionArgumentNullExceptionNotSupportedExceptionArgumentExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionFormatExceptionEventSourceExceptionKeyNotFoundExceptionSocketExceptionpublic void GetSocketOption(SocketOptionLevel dupParam0, SocketOptionName dupParam1, JCORefOut dupParam2) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArrayTypeMismatchException, ArgumentNullException, NotSupportedException, ArgumentException, IndexOutOfRangeException, OutOfMemoryException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, EventSourceException, KeyNotFoundException, SocketException
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArrayTypeMismatchExceptionArgumentNullExceptionNotSupportedExceptionArgumentExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionFormatExceptionEventSourceExceptionKeyNotFoundExceptionSocketExceptionpublic SocketType getSocketType() throws java.lang.Throwable
java.lang.Throwablepublic static boolean getSupportsIPv4()
throws java.lang.Throwable
java.lang.Throwablepublic static boolean getSupportsIPv6()
throws java.lang.Throwable
java.lang.Throwablepublic short getTtl()
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
OutOfMemoryException,
InvalidOperationException,
FormatException,
ArgumentOutOfRangeException,
EventSourceException,
SocketException,
ArrayTypeMismatchException,
ArgumentNullException
public boolean getUseOnlyOverlappedIO()
throws java.lang.Throwable
java.lang.Throwablepublic int IOControl(int ioControlCode,
byte[] optionInValue,
byte[] optionOutValue)
throws java.lang.Throwable,
PlatformNotSupportedException,
ObjectDisposedException,
ArgumentNullException,
ArgumentException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
IndexOutOfRangeException,
OutOfMemoryException,
FormatException,
EventSourceException,
KeyNotFoundException,
SocketException
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionKeyNotFoundExceptionSocketExceptionpublic int IOControl(int dupParam0,
JCORefOut dupParam1,
JCORefOut dupParam2)
throws java.lang.Throwable,
PlatformNotSupportedException,
ObjectDisposedException,
ArgumentNullException,
ArgumentException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
IndexOutOfRangeException,
OutOfMemoryException,
FormatException,
EventSourceException,
KeyNotFoundException,
SocketException
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionKeyNotFoundExceptionSocketExceptionpublic int IOControl(IOControlCode ioControlCode, byte[] optionInValue, byte[] optionOutValue) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, OutOfMemoryException, ArgumentOutOfRangeException, FormatException, ArgumentNullException, EventSourceException, SocketException
public int IOControl(IOControlCode dupParam0, JCORefOut dupParam1, JCORefOut dupParam2) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, OutOfMemoryException, ArgumentOutOfRangeException, FormatException, ArgumentNullException, EventSourceException, SocketException
public void Listen()
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
IndexOutOfRangeException,
OutOfMemoryException,
ArrayTypeMismatchException,
ArgumentOutOfRangeException,
InvalidOperationException,
FormatException,
EventSourceException,
ObjectDisposedException
public void Listen(int backlog)
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
IndexOutOfRangeException,
OutOfMemoryException,
ArrayTypeMismatchException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
FormatException,
EventSourceException,
KeyNotFoundException,
ObjectDisposedException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionArrayTypeMismatchExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionFormatExceptionEventSourceExceptionKeyNotFoundExceptionObjectDisposedExceptionpublic boolean Poll(int microSeconds,
SelectMode mode)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException,
IndexOutOfRangeException,
OutOfMemoryException,
FormatException,
EventSourceException,
KeyNotFoundException,
SocketException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionKeyNotFoundExceptionSocketExceptionpublic boolean Poll(TimeSpan timeout, SelectMode mode) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException, OutOfMemoryException, EventSourceException, SocketException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionEventSourceExceptionSocketExceptionpublic int Receive(byte[] buffer)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException,
SocketException,
IndexOutOfRangeException
public int Receive(byte[] buffer,
int offset,
int size,
SocketFlags socketFlags)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException,
FormatException,
SocketException,
OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionFormatExceptionSocketExceptionOutOfMemoryExceptionpublic int Receive(byte[] buffer,
int offset,
int size,
SocketFlags socketFlags,
JCORefOut<SocketError> errorCode)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException,
IndexOutOfRangeException,
FormatException,
SocketException,
OutOfMemoryException,
EventSourceException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionSocketExceptionOutOfMemoryExceptionEventSourceExceptionpublic int Receive(byte[] buffer,
int size,
SocketFlags socketFlags)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException,
SocketException,
IndexOutOfRangeException
public int Receive(byte[] buffer,
SocketFlags socketFlags)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException,
SocketException,
IndexOutOfRangeException
public int Receive(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, SocketException, IndexOutOfRangeException
public int Receive(JCORefOut dupParam0, int dupParam1, int dupParam2, SocketFlags dupParam3) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, FormatException, SocketException, OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionFormatExceptionSocketExceptionOutOfMemoryExceptionpublic int Receive(JCORefOut dupParam0, int dupParam1, SocketFlags dupParam2) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, SocketException, IndexOutOfRangeException
public int Receive(JCORefOut dupParam0, SocketFlags dupParam1) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, SocketException, IndexOutOfRangeException
public boolean ReceiveAsync(SocketAsyncEventArgs e) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, ObjectDisposedException, NullReferenceException, InvalidOperationException, ArrayTypeMismatchException, ArgumentOutOfRangeException, SocketException, ArgumentNullException
public int ReceiveFrom(byte[] buffer,
int offset,
int size,
SocketFlags socketFlags,
JCORefOut<EndPoint> remoteEP)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException,
IndexOutOfRangeException,
FormatException,
SocketException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionSocketExceptionpublic int ReceiveFrom(byte[] buffer,
int size,
SocketFlags socketFlags,
JCORefOut<EndPoint> remoteEP)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException,
FormatException,
SocketException,
EventSourceException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionFormatExceptionSocketExceptionEventSourceExceptionpublic int ReceiveFrom(byte[] buffer,
JCORefOut<EndPoint> remoteEP)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException,
FormatException,
SocketException,
EventSourceException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionFormatExceptionSocketExceptionEventSourceExceptionpublic int ReceiveFrom(byte[] buffer,
SocketFlags socketFlags,
JCORefOut<EndPoint> remoteEP)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException,
FormatException,
SocketException,
EventSourceException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionFormatExceptionSocketExceptionEventSourceExceptionpublic boolean ReceiveFromAsync(SocketAsyncEventArgs e) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, ObjectDisposedException, IndexOutOfRangeException, ArgumentOutOfRangeException, SocketException, ArgumentNullException, ArrayTypeMismatchException, NullReferenceException, InvalidOperationException, OutOfMemoryException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionObjectDisposedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionSocketExceptionArgumentNullExceptionArrayTypeMismatchExceptionNullReferenceExceptionInvalidOperationExceptionOutOfMemoryExceptionpublic int ReceiveMessageFrom(byte[] buffer,
int offset,
int size,
JCORefOut<SocketFlags> socketFlags,
JCORefOut<EndPoint> remoteEP,
JCORefOut<IPPacketInformation> ipPacketInformation)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException,
IndexOutOfRangeException,
FormatException,
SocketException,
OverflowException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionSocketExceptionOverflowExceptionpublic boolean ReceiveMessageFromAsync(SocketAsyncEventArgs e) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, ObjectDisposedException, IndexOutOfRangeException, ArgumentOutOfRangeException, SocketException, ArgumentNullException, InvalidOperationException, NullReferenceException, OutOfMemoryException, OverflowException, FormatException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionObjectDisposedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionSocketExceptionArgumentNullExceptionInvalidOperationExceptionNullReferenceExceptionOutOfMemoryExceptionOverflowExceptionFormatExceptionpublic static void Select(IList checkRead, IList checkWrite, IList checkError, int microSeconds) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, FormatException, EventSourceException, SocketException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSocketExceptionpublic static void Select(IList checkRead, IList checkWrite, IList checkError, TimeSpan timeout) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException, NullReferenceException, OutOfMemoryException, EventSourceException, SocketException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionFormatExceptionNullReferenceExceptionOutOfMemoryExceptionEventSourceExceptionSocketExceptionpublic int Send(byte[] buffer)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException,
SocketException,
IndexOutOfRangeException
public int Send(byte[] buffer,
int offset,
int size,
SocketFlags socketFlags)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException,
FormatException,
SocketException,
OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionFormatExceptionSocketExceptionOutOfMemoryExceptionpublic int Send(byte[] buffer,
int offset,
int size,
SocketFlags socketFlags,
JCORefOut<SocketError> errorCode)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException,
IndexOutOfRangeException,
FormatException,
SocketException,
OutOfMemoryException,
EventSourceException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionSocketExceptionOutOfMemoryExceptionEventSourceExceptionpublic int Send(byte[] buffer,
int size,
SocketFlags socketFlags)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException,
SocketException,
IndexOutOfRangeException
public int Send(byte[] buffer,
SocketFlags socketFlags)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException,
SocketException,
IndexOutOfRangeException
public int Send(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, SocketException, IndexOutOfRangeException
public int Send(JCORefOut dupParam0, int dupParam1, int dupParam2, SocketFlags dupParam3) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, FormatException, SocketException, OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionFormatExceptionSocketExceptionOutOfMemoryExceptionpublic int Send(JCORefOut dupParam0, int dupParam1, SocketFlags dupParam2) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, SocketException, IndexOutOfRangeException
public int Send(JCORefOut dupParam0, SocketFlags dupParam1) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, SocketException, IndexOutOfRangeException
public boolean SendAsync(SocketAsyncEventArgs e) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, ObjectDisposedException, NullReferenceException, InvalidOperationException, ArrayTypeMismatchException, ArgumentOutOfRangeException, SocketException, ArgumentNullException
public void SendFile(java.lang.String fileName)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException,
OutOfMemoryException,
FormatException,
EventSourceException,
SocketException,
SerializationException,
IOException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSocketExceptionSerializationExceptionIOExceptionpublic void SendFile(java.lang.String fileName,
byte[] preBuffer,
byte[] postBuffer,
TransmitFileOptions flags)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException,
OutOfMemoryException,
FormatException,
EventSourceException,
SocketException,
SerializationException,
IOException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSocketExceptionSerializationExceptionIOExceptionpublic void SendFile(java.lang.String dupParam0,
JCORefOut dupParam1,
JCORefOut dupParam2,
TransmitFileOptions dupParam3)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException,
OutOfMemoryException,
FormatException,
EventSourceException,
SocketException,
SerializationException,
IOException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSocketExceptionSerializationExceptionIOExceptionpublic ValueTask SendFileAsync(java.lang.String fileName, CancellationToken cancellationToken) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, NullReferenceException, OutOfMemoryException, IndexOutOfRangeException, FormatException, ObjectDisposedException, SocketException, SerializationException, IOException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionNullReferenceExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionFormatExceptionObjectDisposedExceptionSocketExceptionSerializationExceptionIOExceptionpublic boolean SendPacketsAsync(SocketAsyncEventArgs e) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, ObjectDisposedException, IndexOutOfRangeException, ArgumentOutOfRangeException, OutOfMemoryException, InvalidOperationException, FormatException, EventSourceException, SocketException, ArrayTypeMismatchException, SerializationException, CultureNotFoundException, IOException, ArgumentNullException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionObjectDisposedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionInvalidOperationExceptionFormatExceptionEventSourceExceptionSocketExceptionArrayTypeMismatchExceptionSerializationExceptionCultureNotFoundExceptionIOExceptionArgumentNullExceptionpublic int SendTo(byte[] buffer,
EndPoint remoteEP)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException,
FormatException,
SocketException,
OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionFormatExceptionSocketExceptionOutOfMemoryExceptionpublic int SendTo(byte[] buffer,
int offset,
int size,
SocketFlags socketFlags,
EndPoint remoteEP)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException,
IndexOutOfRangeException,
FormatException,
SocketException,
OutOfMemoryException,
EventSourceException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionSocketExceptionOutOfMemoryExceptionEventSourceExceptionpublic int SendTo(byte[] buffer,
int size,
SocketFlags socketFlags,
EndPoint remoteEP)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException,
FormatException,
SocketException,
OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionFormatExceptionSocketExceptionOutOfMemoryExceptionpublic int SendTo(byte[] buffer,
SocketFlags socketFlags,
EndPoint remoteEP)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException,
FormatException,
SocketException,
OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionFormatExceptionSocketExceptionOutOfMemoryExceptionpublic int SendTo(JCORefOut dupParam0, EndPoint dupParam1) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, FormatException, SocketException, OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionFormatExceptionSocketExceptionOutOfMemoryExceptionpublic int SendTo(JCORefOut dupParam0, int dupParam1, int dupParam2, SocketFlags dupParam3, EndPoint dupParam4) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, FormatException, SocketException, OutOfMemoryException, EventSourceException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionSocketExceptionOutOfMemoryExceptionEventSourceExceptionpublic int SendTo(JCORefOut dupParam0, int dupParam1, SocketFlags dupParam2, EndPoint dupParam3) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, FormatException, SocketException, OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionFormatExceptionSocketExceptionOutOfMemoryExceptionpublic int SendTo(JCORefOut dupParam0, SocketFlags dupParam1, EndPoint dupParam2) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, FormatException, SocketException, OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionFormatExceptionSocketExceptionOutOfMemoryExceptionpublic boolean SendToAsync(SocketAsyncEventArgs e) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, ObjectDisposedException, IndexOutOfRangeException, ArgumentOutOfRangeException, ArrayTypeMismatchException, SocketException, ArgumentNullException, NullReferenceException, InvalidOperationException
public void setBlocking(boolean Blocking)
throws java.lang.Throwable,
PlatformNotSupportedException,
ObjectDisposedException,
ArgumentNullException,
NotSupportedException,
ArgumentException,
IndexOutOfRangeException,
OutOfMemoryException,
ArrayTypeMismatchException,
ArgumentOutOfRangeException,
InvalidOperationException,
FormatException,
EventSourceException,
KeyNotFoundException,
SocketException
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionNotSupportedExceptionArgumentExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionArrayTypeMismatchExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionFormatExceptionEventSourceExceptionKeyNotFoundExceptionSocketExceptionpublic void setDontFragment(boolean DontFragment)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException,
OutOfMemoryException,
FormatException,
EventSourceException,
SocketException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSocketExceptionpublic void setDualMode(boolean DualMode)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
OutOfMemoryException,
FormatException,
EventSourceException,
SocketException,
ArrayTypeMismatchException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSocketExceptionArrayTypeMismatchExceptionpublic void setEnableBroadcast(boolean EnableBroadcast)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException,
IndexOutOfRangeException,
OutOfMemoryException,
FormatException,
EventSourceException,
SocketException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSocketExceptionpublic void setExclusiveAddressUse(boolean ExclusiveAddressUse)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
OutOfMemoryException,
FormatException,
EventSourceException,
SocketException,
ArrayTypeMismatchException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSocketExceptionArrayTypeMismatchExceptionpublic void SetIPProtectionLevel(IPProtectionLevel level) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException, FormatException, EventSourceException, SocketException, ArrayTypeMismatchException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSocketExceptionArrayTypeMismatchExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic void setLingerState(LingerOption LingerState) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, SocketException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSocketExceptionpublic void setMulticastLoopback(boolean MulticastLoopback)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException,
IndexOutOfRangeException,
OutOfMemoryException,
FormatException,
EventSourceException,
SocketException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSocketExceptionpublic void setNoDelay(boolean NoDelay)
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
IndexOutOfRangeException,
OutOfMemoryException,
ArgumentOutOfRangeException,
InvalidOperationException,
FormatException,
ArgumentNullException,
EventSourceException,
SocketException,
ArrayTypeMismatchException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionObjectDisposedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionFormatExceptionArgumentNullExceptionEventSourceExceptionSocketExceptionArrayTypeMismatchExceptionpublic void setReceiveBufferSize(int ReceiveBufferSize)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
OutOfMemoryException,
FormatException,
EventSourceException,
SocketException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSocketExceptionpublic void setReceiveTimeout(int ReceiveTimeout)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException,
EventSourceException,
SocketException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionEventSourceExceptionSocketExceptionpublic void setSendBufferSize(int SendBufferSize)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
OutOfMemoryException,
FormatException,
EventSourceException,
SocketException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSocketExceptionpublic void setSendTimeout(int SendTimeout)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException,
EventSourceException,
SocketException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionEventSourceExceptionSocketExceptionpublic void SetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, boolean optionValue) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, ObjectDisposedException, IndexOutOfRangeException, OutOfMemoryException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, ArgumentNullException, EventSourceException, SocketException, ArrayTypeMismatchException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionObjectDisposedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionFormatExceptionArgumentNullExceptionEventSourceExceptionSocketExceptionArrayTypeMismatchExceptionpublic void SetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, byte[] optionValue) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, NotSupportedException, ArgumentException, IndexOutOfRangeException, OutOfMemoryException, ArrayTypeMismatchException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, EventSourceException, KeyNotFoundException, SocketException
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionNotSupportedExceptionArgumentExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionArrayTypeMismatchExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionFormatExceptionEventSourceExceptionKeyNotFoundExceptionSocketExceptionpublic void SetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, int optionValue) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, NotSupportedException, ArgumentException, IndexOutOfRangeException, OutOfMemoryException, ArrayTypeMismatchException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, EventSourceException, KeyNotFoundException, SocketException
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionNotSupportedExceptionArgumentExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionArrayTypeMismatchExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionFormatExceptionEventSourceExceptionKeyNotFoundExceptionSocketExceptionpublic void SetSocketOption(SocketOptionLevel dupParam0, SocketOptionName dupParam1, JCORefOut dupParam2) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, NotSupportedException, ArgumentException, IndexOutOfRangeException, OutOfMemoryException, ArrayTypeMismatchException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, EventSourceException, KeyNotFoundException, SocketException
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionNotSupportedExceptionArgumentExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionArrayTypeMismatchExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionFormatExceptionEventSourceExceptionKeyNotFoundExceptionSocketExceptionpublic void SetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, NetObject optionValue) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, NotSupportedException, ArgumentException, IndexOutOfRangeException, OutOfMemoryException, ArrayTypeMismatchException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, EventSourceException, KeyNotFoundException, SocketException
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionNotSupportedExceptionArgumentExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionArrayTypeMismatchExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionFormatExceptionEventSourceExceptionKeyNotFoundExceptionSocketExceptionpublic void setTtl(short Ttl)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException,
EventSourceException,
SocketException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionEventSourceExceptionSocketExceptionpublic void setUseOnlyOverlappedIO(boolean UseOnlyOverlappedIO)
throws java.lang.Throwable
java.lang.Throwablepublic void Shutdown(SocketShutdown how) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, NotSupportedException, ArgumentException, IndexOutOfRangeException, OutOfMemoryException, ArrayTypeMismatchException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, EventSourceException, KeyNotFoundException, SocketException
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionNotSupportedExceptionArgumentExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionArrayTypeMismatchExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionFormatExceptionEventSourceExceptionKeyNotFoundExceptionSocketException