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=9.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, OutOfMemoryException, ArrayTypeMismatchException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, IndexOutOfRangeException, FormatException, EventSourceException, SocketException, ObjectDisposedException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionOutOfMemoryExceptionArrayTypeMismatchExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionIndexOutOfRangeExceptionFormatExceptionEventSourceExceptionSocketExceptionObjectDisposedExceptionpublic 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, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, SocketException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, ArrayTypeMismatchException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionObjectDisposedExceptionSocketExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionArrayTypeMismatchExceptionpublic Socket(SocketType socketType, ProtocolType protocolType) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, ArgumentOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, FormatException, EventSourceException, SocketException, ArgumentNullException, ObjectDisposedException, CultureNotFoundException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionArgumentOutOfRangeExceptionArrayTypeMismatchExceptionInvalidOperationExceptionFormatExceptionEventSourceExceptionSocketExceptionArgumentNullExceptionObjectDisposedExceptionCultureNotFoundExceptionpublic Socket Accept() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, SocketException, OutOfMemoryException, PlatformNotSupportedException, FormatException, EventSourceException, ArgumentNullException, ArrayTypeMismatchException
public boolean AcceptAsync(SocketAsyncEventArgs e) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException, PlatformNotSupportedException, FormatException, EventSourceException, SocketException, ArgumentNullException, NullReferenceException, ArrayTypeMismatchException, OverflowException, ArgumentOutOfRangeException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationExceptionOutOfMemoryExceptionPlatformNotSupportedExceptionFormatExceptionEventSourceExceptionSocketExceptionArgumentNullExceptionNullReferenceExceptionArrayTypeMismatchExceptionOverflowExceptionArgumentOutOfRangeExceptionpublic 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, ArrayTypeMismatchException
public IAsyncResult BeginConnect(IPAddress[] addresses, int port, AsyncCallback requestCallback, NetObject state) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, 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, IndexOutOfRangeException, 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, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, ArrayTypeMismatchException, ArgumentNullException, NullReferenceException, OutOfMemoryException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionArrayTypeMismatchExceptionArgumentNullExceptionNullReferenceExceptionOutOfMemoryExceptionpublic IAsyncResult BeginReceive(byte[] buffer, int offset, int size, SocketFlags socketFlags, JCORefOut<SocketError> errorCode, AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, ArrayTypeMismatchException, ArgumentNullException, NullReferenceException, OutOfMemoryException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionArrayTypeMismatchExceptionArgumentNullExceptionNullReferenceExceptionOutOfMemoryExceptionpublic IAsyncResult BeginReceive(JCORefOut dupParam0, int dupParam1, int dupParam2, SocketFlags dupParam3, AsyncCallback dupParam4, NetObject dupParam5) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, ArrayTypeMismatchException, ArgumentNullException, NullReferenceException, OutOfMemoryException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionArrayTypeMismatchExceptionArgumentNullExceptionNullReferenceExceptionOutOfMemoryExceptionpublic IAsyncResult BeginReceiveFrom(byte[] buffer, int offset, int size, SocketFlags socketFlags, JCORefOut<EndPoint> remoteEP, AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, SocketException, ArgumentNullException, ArrayTypeMismatchException, NullReferenceException, OutOfMemoryException, EventSourceException, TaskSchedulerException, OperationCanceledException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionSocketExceptionArgumentNullExceptionArrayTypeMismatchExceptionNullReferenceExceptionOutOfMemoryExceptionEventSourceExceptionTaskSchedulerExceptionOperationCanceledExceptionpublic IAsyncResult BeginReceiveMessageFrom(byte[] buffer, int offset, int size, SocketFlags socketFlags, JCORefOut<EndPoint> remoteEP, AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, OutOfMemoryException, FormatException, EventSourceException, ObjectDisposedException, SocketException, ArrayTypeMismatchException, TaskSchedulerException, OperationCanceledException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionObjectDisposedExceptionSocketExceptionArrayTypeMismatchExceptionTaskSchedulerExceptionOperationCanceledExceptionpublic IAsyncResult BeginSend(byte[] buffer, int offset, int size, SocketFlags socketFlags, AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, ArgumentNullException, NullReferenceException, OutOfMemoryException, ArrayTypeMismatchException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionArgumentNullExceptionNullReferenceExceptionOutOfMemoryExceptionArrayTypeMismatchExceptionpublic IAsyncResult BeginSend(byte[] buffer, int offset, int size, SocketFlags socketFlags, JCORefOut<SocketError> errorCode, AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, ArgumentNullException, NullReferenceException, OutOfMemoryException, ArrayTypeMismatchException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionArgumentNullExceptionNullReferenceExceptionOutOfMemoryExceptionArrayTypeMismatchExceptionpublic IAsyncResult BeginSend(JCORefOut dupParam0, int dupParam1, int dupParam2, SocketFlags dupParam3, AsyncCallback dupParam4, NetObject dupParam5) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, ArgumentNullException, NullReferenceException, OutOfMemoryException, ArrayTypeMismatchException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionArgumentNullExceptionNullReferenceExceptionOutOfMemoryExceptionArrayTypeMismatchExceptionpublic IAsyncResult BeginSendFile(java.lang.String fileName, AsyncCallback callback, NetObject state) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, InvalidOperationException, FormatException, ArgumentOutOfRangeException, ArgumentNullException, EventSourceException, SocketException, ArrayTypeMismatchException, SerializationException, IOException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionInvalidOperationExceptionFormatExceptionArgumentOutOfRangeExceptionArgumentNullExceptionEventSourceExceptionSocketExceptionArrayTypeMismatchExceptionSerializationExceptionIOExceptionpublic IAsyncResult BeginSendFile(java.lang.String fileName, byte[] preBuffer, byte[] postBuffer, TransmitFileOptions flags, AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, ArgumentNullException, EventSourceException, SocketException, ArrayTypeMismatchException, SerializationException, IOException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionArgumentNullExceptionEventSourceExceptionSocketExceptionArrayTypeMismatchExceptionSerializationExceptionIOExceptionpublic IAsyncResult BeginSendFile(java.lang.String dupParam0, JCORefOut dupParam1, JCORefOut dupParam2, TransmitFileOptions dupParam3, AsyncCallback dupParam4, NetObject dupParam5) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, ArgumentNullException, EventSourceException, SocketException, ArrayTypeMismatchException, SerializationException, IOException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionArgumentNullExceptionEventSourceExceptionSocketExceptionArrayTypeMismatchExceptionSerializationExceptionIOExceptionpublic IAsyncResult BeginSendTo(byte[] buffer, int offset, int size, SocketFlags socketFlags, EndPoint remoteEP, AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, ArrayTypeMismatchException, ArgumentNullException, NullReferenceException, OutOfMemoryException, SocketException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionArrayTypeMismatchExceptionArgumentNullExceptionNullReferenceExceptionOutOfMemoryExceptionSocketExceptionpublic IAsyncResult BeginSendTo(JCORefOut dupParam0, int dupParam1, int dupParam2, SocketFlags dupParam3, EndPoint dupParam4, AsyncCallback dupParam5, NetObject dupParam6) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, ArrayTypeMismatchException, ArgumentNullException, NullReferenceException, OutOfMemoryException, SocketException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionArrayTypeMismatchExceptionArgumentNullExceptionNullReferenceExceptionOutOfMemoryExceptionSocketExceptionpublic void Bind(EndPoint localEP) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, OutOfMemoryException, ArrayTypeMismatchException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, IndexOutOfRangeException, FormatException, EventSourceException, ObjectDisposedException, SocketException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionOutOfMemoryExceptionArrayTypeMismatchExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionIndexOutOfRangeExceptionFormatExceptionEventSourceExceptionObjectDisposedExceptionSocketExceptionpublic static void CancelConnectAsync(SocketAsyncEventArgs e) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, NullReferenceException, AggregateException, IndexOutOfRangeException, FormatException, EventSourceException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionNullReferenceExceptionAggregateExceptionIndexOutOfRangeExceptionFormatExceptionEventSourceExceptionpublic 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,
OutOfMemoryException,
FormatException,
EventSourceException,
ObjectDisposedException,
ArrayTypeMismatchException
public void Close(int timeout)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException,
EventSourceException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionEventSourceExceptionpublic void Connect(EndPoint remoteEP) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, SocketException, PlatformNotSupportedException, OutOfMemoryException, FormatException, ArgumentNullException, EventSourceException, ArrayTypeMismatchException
public void Connect(IPAddress[] addresses, int port) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, SocketException, ArgumentNullException, PlatformNotSupportedException, FormatException, NullReferenceException, ArrayTypeMismatchException
public void Connect(IPAddress address, int port) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, SocketException, ArgumentNullException, PlatformNotSupportedException, FormatException, NullReferenceException, ArrayTypeMismatchException
public void Connect(java.lang.String host,
int port)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ObjectDisposedException,
PlatformNotSupportedException,
IndexOutOfRangeException,
OutOfMemoryException,
FormatException,
SocketException,
ArgumentNullException,
ArrayTypeMismatchException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionSocketExceptionArgumentNullExceptionArrayTypeMismatchExceptionpublic 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, NotSupportedException, ArgumentException, ObjectDisposedException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, SocketException, ArgumentNullException
public ValueTask ConnectAsync(IPAddress[] addresses, int port, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, IndexOutOfRangeException, FormatException, SocketException, ArgumentNullException
public Task ConnectAsync(IPAddress address, int port) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, NullReferenceException, ObjectDisposedException, SocketException, FormatException, ArrayTypeMismatchException
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, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, SocketException, EventSourceException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, FormatException, IndexOutOfRangeException, ArrayTypeMismatchException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationExceptionSocketExceptionEventSourceExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentNullExceptionFormatExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionpublic 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, ArrayTypeMismatchException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionNullReferenceExceptionObjectDisposedExceptionSocketExceptionArrayTypeMismatchExceptionpublic ValueTask ConnectAsync(java.lang.String host, int port, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, OutOfMemoryException, FormatException, SocketException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionSocketExceptionpublic void Disconnect(boolean reuseSocket)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ObjectDisposedException,
IndexOutOfRangeException,
OverflowException,
FormatException,
PlatformNotSupportedException,
SocketException,
NullReferenceException,
OutOfMemoryException,
ArgumentNullException,
EventSourceException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionIndexOutOfRangeExceptionOverflowExceptionFormatExceptionPlatformNotSupportedExceptionSocketExceptionNullReferenceExceptionOutOfMemoryExceptionArgumentNullExceptionEventSourceExceptionpublic 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, NotSupportedException, ArgumentException, ObjectDisposedException, PlatformNotSupportedException, NullReferenceException, InvalidOperationException, OverflowException, FormatException, SocketException, ArgumentNullException, ArgumentOutOfRangeException, ArrayTypeMismatchException
public void Dispose()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
OutOfMemoryException,
FormatException,
EventSourceException,
ObjectDisposedException,
ArrayTypeMismatchException
public SocketInformation DuplicateAndClose(int targetProcessId) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, IndexOutOfRangeException, FormatException, SocketException, PlatformNotSupportedException, OutOfMemoryException, ArgumentNullException, EventSourceException, ArrayTypeMismatchException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionSocketExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionArgumentNullExceptionEventSourceExceptionArrayTypeMismatchExceptionpublic 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, ArgumentNullException, ArgumentException, InvalidOperationException, TaskSchedulerException, PlatformNotSupportedException, TaskCanceledException, ArgumentOutOfRangeException, AggregateException, IndexOutOfRangeException, FormatException
public Socket EndAccept(JCORefOut buffer, JCORefOut<java.util.concurrent.atomic.AtomicInteger> bytesTransferred, IAsyncResult asyncResult) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, EventSourceException, InvalidOperationException, TaskSchedulerException, TaskCanceledException, AggregateException
public 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, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, EventSourceException, InvalidOperationException, TaskSchedulerException, TaskCanceledException, AggregateException
public int EndReceiveFrom(IAsyncResult asyncResult, JCORefOut<EndPoint> endPoint) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, SocketException, TaskSchedulerException, TaskCanceledException, AggregateException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionSocketExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionpublic int EndReceiveMessageFrom(IAsyncResult asyncResult, JCORefOut<SocketFlags> socketFlags, JCORefOut<EndPoint> endPoint, JCORefOut<IPPacketInformation> ipPacketInformation) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, SocketException, TaskSchedulerException, TaskCanceledException, AggregateException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionSocketExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionpublic 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, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, EventSourceException, InvalidOperationException, TaskSchedulerException, TaskCanceledException, AggregateException
public 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,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ObjectDisposedException,
PlatformNotSupportedException,
OutOfMemoryException,
FormatException,
ArgumentNullException,
EventSourceException,
SocketException
public boolean getBlocking()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getConnected()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
OutOfMemoryException,
FormatException,
EventSourceException,
ObjectDisposedException,
SocketException
public boolean getDontFragment()
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentNullException,
OutOfMemoryException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArgumentException,
FormatException,
InvalidOperationException,
EventSourceException,
SocketException,
NotSupportedException
public boolean getDualMode()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
PlatformNotSupportedException,
IndexOutOfRangeException,
OutOfMemoryException,
InvalidOperationException,
FormatException,
ArgumentOutOfRangeException,
ArgumentNullException,
EventSourceException,
SocketException,
ArrayTypeMismatchException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionInvalidOperationExceptionFormatExceptionArgumentOutOfRangeExceptionArgumentNullExceptionEventSourceExceptionSocketExceptionArrayTypeMismatchExceptionpublic boolean getEnableBroadcast()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
PlatformNotSupportedException,
IndexOutOfRangeException,
OutOfMemoryException,
InvalidOperationException,
FormatException,
ArgumentOutOfRangeException,
ArgumentNullException,
EventSourceException,
SocketException,
ArrayTypeMismatchException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionInvalidOperationExceptionFormatExceptionArgumentOutOfRangeExceptionArgumentNullExceptionEventSourceExceptionSocketExceptionArrayTypeMismatchExceptionpublic boolean getExclusiveAddressUse()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
PlatformNotSupportedException,
IndexOutOfRangeException,
OutOfMemoryException,
InvalidOperationException,
FormatException,
ArgumentOutOfRangeException,
ArgumentNullException,
EventSourceException,
SocketException,
ArrayTypeMismatchException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionInvalidOperationExceptionFormatExceptionArgumentOutOfRangeExceptionArgumentNullExceptionEventSourceExceptionSocketExceptionArrayTypeMismatchExceptionpublic 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, NotSupportedException, ArgumentException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, InvalidOperationException, FormatException, ArgumentOutOfRangeException, ArgumentNullException, EventSourceException, SocketException, ArrayTypeMismatchException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionInvalidOperationExceptionFormatExceptionArgumentOutOfRangeExceptionArgumentNullExceptionEventSourceExceptionSocketExceptionArrayTypeMismatchExceptionpublic EndPoint getLocalEndPoint() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, SocketException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, ArgumentNullException, ArrayTypeMismatchException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionSocketExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionArgumentNullExceptionArrayTypeMismatchExceptionpublic boolean getMulticastLoopback()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
PlatformNotSupportedException,
IndexOutOfRangeException,
OutOfMemoryException,
InvalidOperationException,
FormatException,
ArgumentOutOfRangeException,
ArgumentNullException,
EventSourceException,
SocketException,
ArrayTypeMismatchException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionInvalidOperationExceptionFormatExceptionArgumentOutOfRangeExceptionArgumentNullExceptionEventSourceExceptionSocketExceptionArrayTypeMismatchExceptionpublic boolean getNoDelay()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
PlatformNotSupportedException,
IndexOutOfRangeException,
OutOfMemoryException,
InvalidOperationException,
FormatException,
ArgumentOutOfRangeException,
ArgumentNullException,
EventSourceException,
SocketException,
ArrayTypeMismatchException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionInvalidOperationExceptionFormatExceptionArgumentOutOfRangeExceptionArgumentNullExceptionEventSourceExceptionSocketExceptionArrayTypeMismatchExceptionpublic 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,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
PlatformNotSupportedException,
IndexOutOfRangeException,
OutOfMemoryException,
InvalidOperationException,
FormatException,
ArgumentOutOfRangeException,
ArgumentNullException,
EventSourceException,
SocketException,
ArrayTypeMismatchException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionInvalidOperationExceptionFormatExceptionArgumentOutOfRangeExceptionArgumentNullExceptionEventSourceExceptionSocketExceptionArrayTypeMismatchExceptionpublic int getReceiveTimeout()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
PlatformNotSupportedException,
IndexOutOfRangeException,
OutOfMemoryException,
InvalidOperationException,
FormatException,
ArgumentOutOfRangeException,
ArgumentNullException,
EventSourceException,
SocketException,
ArrayTypeMismatchException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionInvalidOperationExceptionFormatExceptionArgumentOutOfRangeExceptionArgumentNullExceptionEventSourceExceptionSocketExceptionArrayTypeMismatchExceptionpublic EndPoint getRemoteEndPoint() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, SocketException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, ArgumentNullException, ArrayTypeMismatchException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionSocketExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionArgumentNullExceptionArrayTypeMismatchExceptionpublic SafeSocketHandle getSafeHandle() throws java.lang.Throwable
java.lang.Throwablepublic int getSendBufferSize()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
PlatformNotSupportedException,
IndexOutOfRangeException,
OutOfMemoryException,
InvalidOperationException,
FormatException,
ArgumentOutOfRangeException,
ArgumentNullException,
EventSourceException,
SocketException,
ArrayTypeMismatchException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionInvalidOperationExceptionFormatExceptionArgumentOutOfRangeExceptionArgumentNullExceptionEventSourceExceptionSocketExceptionArrayTypeMismatchExceptionpublic int getSendTimeout()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
PlatformNotSupportedException,
IndexOutOfRangeException,
OutOfMemoryException,
InvalidOperationException,
FormatException,
ArgumentOutOfRangeException,
ArgumentNullException,
EventSourceException,
SocketException,
ArrayTypeMismatchException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionInvalidOperationExceptionFormatExceptionArgumentOutOfRangeExceptionArgumentNullExceptionEventSourceExceptionSocketExceptionArrayTypeMismatchExceptionpublic NetObject GetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, ArgumentNullException, EventSourceException, SocketException, ArrayTypeMismatchException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionArgumentNullExceptionEventSourceExceptionSocketExceptionArrayTypeMismatchExceptionpublic void GetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, byte[] optionValue) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArrayTypeMismatchException, ArgumentNullException, PlatformNotSupportedException, OutOfMemoryException, FormatException, EventSourceException, SocketException
public byte[] GetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, int optionLength) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArrayTypeMismatchException, ArgumentNullException, PlatformNotSupportedException, OutOfMemoryException, FormatException, EventSourceException, SocketException
public void GetSocketOption(SocketOptionLevel dupParam0, SocketOptionName dupParam1, JCORefOut dupParam2) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArrayTypeMismatchException, ArgumentNullException, PlatformNotSupportedException, OutOfMemoryException, FormatException, EventSourceException, SocketException
public 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,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
PlatformNotSupportedException,
IndexOutOfRangeException,
OutOfMemoryException,
InvalidOperationException,
FormatException,
ArgumentOutOfRangeException,
ArgumentNullException,
EventSourceException,
SocketException,
ArrayTypeMismatchException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionInvalidOperationExceptionFormatExceptionArgumentOutOfRangeExceptionArgumentNullExceptionEventSourceExceptionSocketExceptionArrayTypeMismatchExceptionpublic boolean getUseOnlyOverlappedIO()
throws java.lang.Throwable
java.lang.Throwablepublic int IOControl(int ioControlCode,
byte[] optionInValue,
byte[] optionOutValue)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ObjectDisposedException,
PlatformNotSupportedException,
OutOfMemoryException,
FormatException,
ArgumentNullException,
EventSourceException,
SocketException
public int IOControl(int dupParam0,
JCORefOut dupParam1,
JCORefOut dupParam2)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ObjectDisposedException,
PlatformNotSupportedException,
OutOfMemoryException,
FormatException,
ArgumentNullException,
EventSourceException,
SocketException
public int IOControl(IOControlCode ioControlCode, byte[] optionInValue, byte[] optionOutValue) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, ArgumentOutOfRangeException, FormatException, ArgumentNullException, EventSourceException, SocketException
public int IOControl(IOControlCode dupParam0, JCORefOut dupParam1, JCORefOut dupParam2) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, ArgumentOutOfRangeException, FormatException, ArgumentNullException, EventSourceException, SocketException
public void Listen()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
IndexOutOfRangeException,
OutOfMemoryException,
ArgumentOutOfRangeException,
ArrayTypeMismatchException,
InvalidOperationException,
FormatException,
EventSourceException,
ObjectDisposedException,
ArgumentNullException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionArgumentOutOfRangeExceptionArrayTypeMismatchExceptionInvalidOperationExceptionFormatExceptionEventSourceExceptionObjectDisposedExceptionArgumentNullExceptionpublic void Listen(int backlog)
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
OutOfMemoryException,
ArrayTypeMismatchException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
IndexOutOfRangeException,
FormatException,
EventSourceException,
ObjectDisposedException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionOutOfMemoryExceptionArrayTypeMismatchExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionIndexOutOfRangeExceptionFormatExceptionEventSourceExceptionObjectDisposedExceptionpublic boolean Poll(int microSeconds,
SelectMode mode)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ObjectDisposedException,
PlatformNotSupportedException,
OutOfMemoryException,
FormatException,
ArgumentNullException,
EventSourceException,
SocketException
public boolean Poll(TimeSpan timeout, SelectMode mode) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException, OutOfMemoryException, EventSourceException, SocketException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionEventSourceExceptionSocketExceptionpublic int Receive(byte[] buffer)
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArgumentException,
InvalidOperationException,
SocketException,
ArrayTypeMismatchException
public int Receive(byte[] buffer,
int offset,
int size,
SocketFlags socketFlags)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
InvalidOperationException,
SocketException,
OutOfMemoryException,
ArgumentNullException,
ArrayTypeMismatchException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidOperationExceptionSocketExceptionOutOfMemoryExceptionArgumentNullExceptionArrayTypeMismatchExceptionpublic int Receive(byte[] buffer,
int offset,
int size,
SocketFlags socketFlags,
JCORefOut<SocketError> errorCode)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ObjectDisposedException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException,
SocketException,
OutOfMemoryException,
EventSourceException,
ArgumentNullException,
ArrayTypeMismatchException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionSocketExceptionOutOfMemoryExceptionEventSourceExceptionArgumentNullExceptionArrayTypeMismatchExceptionpublic int Receive(byte[] buffer,
int size,
SocketFlags socketFlags)
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArgumentException,
InvalidOperationException,
SocketException,
ArrayTypeMismatchException
public int Receive(byte[] buffer,
SocketFlags socketFlags)
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArgumentException,
InvalidOperationException,
SocketException,
ArrayTypeMismatchException
public int Receive(JCORefOut dupParam0) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, SocketException, ArrayTypeMismatchException
public int Receive(JCORefOut dupParam0, int dupParam1, int dupParam2, SocketFlags dupParam3) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidOperationException, SocketException, OutOfMemoryException, ArgumentNullException, ArrayTypeMismatchException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidOperationExceptionSocketExceptionOutOfMemoryExceptionArgumentNullExceptionArrayTypeMismatchExceptionpublic int Receive(JCORefOut dupParam0, int dupParam1, SocketFlags dupParam2) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, SocketException, ArrayTypeMismatchException
public int Receive(JCORefOut dupParam0, SocketFlags dupParam1) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, SocketException, ArrayTypeMismatchException
public boolean ReceiveAsync(SocketAsyncEventArgs e) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, PlatformNotSupportedException, 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,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ObjectDisposedException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException,
SocketException,
ArgumentNullException,
ArrayTypeMismatchException
public int ReceiveFrom(byte[] buffer,
int size,
SocketFlags socketFlags,
JCORefOut<EndPoint> remoteEP)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
SocketException,
InvalidOperationException,
ArrayTypeMismatchException,
EventSourceException
public int ReceiveFrom(byte[] buffer,
JCORefOut<EndPoint> remoteEP)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
SocketException,
InvalidOperationException,
ArrayTypeMismatchException,
EventSourceException
public int ReceiveFrom(byte[] buffer,
SocketFlags socketFlags,
JCORefOut<EndPoint> remoteEP)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
SocketException,
InvalidOperationException,
ArrayTypeMismatchException,
EventSourceException
public boolean ReceiveFromAsync(SocketAsyncEventArgs e) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, SocketException, ArgumentNullException, ArrayTypeMismatchException, NullReferenceException, InvalidOperationException, OutOfMemoryException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionSocketExceptionArgumentNullExceptionArrayTypeMismatchExceptionNullReferenceExceptionInvalidOperationExceptionOutOfMemoryExceptionpublic int ReceiveMessageFrom(byte[] buffer,
int offset,
int size,
JCORefOut<SocketFlags> socketFlags,
JCORefOut<EndPoint> remoteEP,
JCORefOut<IPPacketInformation> ipPacketInformation)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ObjectDisposedException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException,
SocketException,
ArgumentNullException,
OverflowException,
NullReferenceException
public boolean ReceiveMessageFromAsync(SocketAsyncEventArgs e) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, SocketException, ArgumentNullException, InvalidOperationException, NullReferenceException, OutOfMemoryException, OverflowException, FormatException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionSocketExceptionArgumentNullExceptionInvalidOperationExceptionNullReferenceExceptionOutOfMemoryExceptionOverflowExceptionFormatExceptionpublic static void Select(IList checkRead, IList checkWrite, IList checkError, int microSeconds) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, ArrayTypeMismatchException, OutOfMemoryException, FormatException, EventSourceException, SocketException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSocketExceptionpublic static void Select(IList checkRead, IList checkWrite, IList checkError, TimeSpan timeout) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException, ArgumentNullException, NullReferenceException, OutOfMemoryException, EventSourceException, SocketException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionFormatExceptionArgumentNullExceptionNullReferenceExceptionOutOfMemoryExceptionEventSourceExceptionSocketExceptionpublic int Send(byte[] buffer)
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArgumentException,
InvalidOperationException,
SocketException,
ArrayTypeMismatchException
public int Send(byte[] buffer,
int offset,
int size,
SocketFlags socketFlags)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
InvalidOperationException,
SocketException,
OutOfMemoryException,
ArgumentNullException,
ArrayTypeMismatchException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidOperationExceptionSocketExceptionOutOfMemoryExceptionArgumentNullExceptionArrayTypeMismatchExceptionpublic int Send(byte[] buffer,
int offset,
int size,
SocketFlags socketFlags,
JCORefOut<SocketError> errorCode)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ObjectDisposedException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException,
SocketException,
OutOfMemoryException,
EventSourceException,
ArgumentNullException,
ArrayTypeMismatchException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionSocketExceptionOutOfMemoryExceptionEventSourceExceptionArgumentNullExceptionArrayTypeMismatchExceptionpublic int Send(byte[] buffer,
int size,
SocketFlags socketFlags)
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArgumentException,
InvalidOperationException,
SocketException,
ArrayTypeMismatchException
public int Send(byte[] buffer,
SocketFlags socketFlags)
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArgumentException,
InvalidOperationException,
SocketException,
ArrayTypeMismatchException
public int Send(JCORefOut dupParam0) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, SocketException, ArrayTypeMismatchException
public int Send(JCORefOut dupParam0, int dupParam1, int dupParam2, SocketFlags dupParam3) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidOperationException, SocketException, OutOfMemoryException, ArgumentNullException, ArrayTypeMismatchException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidOperationExceptionSocketExceptionOutOfMemoryExceptionArgumentNullExceptionArrayTypeMismatchExceptionpublic int Send(JCORefOut dupParam0, int dupParam1, SocketFlags dupParam2) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, SocketException, ArrayTypeMismatchException
public int Send(JCORefOut dupParam0, SocketFlags dupParam1) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, SocketException, ArrayTypeMismatchException
public boolean SendAsync(SocketAsyncEventArgs e) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, PlatformNotSupportedException, NullReferenceException, InvalidOperationException, ArrayTypeMismatchException, ArgumentOutOfRangeException, SocketException, ArgumentNullException
public void SendFile(java.lang.String fileName)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
PlatformNotSupportedException,
IndexOutOfRangeException,
OutOfMemoryException,
InvalidOperationException,
FormatException,
ArgumentOutOfRangeException,
ArgumentNullException,
EventSourceException,
SocketException,
ArrayTypeMismatchException,
SerializationException,
IOException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionInvalidOperationExceptionFormatExceptionArgumentOutOfRangeExceptionArgumentNullExceptionEventSourceExceptionSocketExceptionArrayTypeMismatchExceptionSerializationExceptionIOExceptionpublic void SendFile(java.lang.String fileName,
byte[] preBuffer,
byte[] postBuffer,
TransmitFileOptions flags)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArrayTypeMismatchException,
ObjectDisposedException,
PlatformNotSupportedException,
IndexOutOfRangeException,
OutOfMemoryException,
FormatException,
ArgumentNullException,
EventSourceException,
SocketException,
SerializationException,
IOException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArrayTypeMismatchExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionArgumentNullExceptionEventSourceExceptionSocketExceptionSerializationExceptionIOExceptionpublic void SendFile(java.lang.String dupParam0,
JCORefOut dupParam1,
JCORefOut dupParam2,
TransmitFileOptions dupParam3)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArrayTypeMismatchException,
ObjectDisposedException,
PlatformNotSupportedException,
IndexOutOfRangeException,
OutOfMemoryException,
FormatException,
ArgumentNullException,
EventSourceException,
SocketException,
SerializationException,
IOException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArrayTypeMismatchExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionArgumentNullExceptionEventSourceExceptionSocketExceptionSerializationExceptionIOExceptionpublic ValueTask SendFileAsync(java.lang.String fileName, CancellationToken cancellationToken) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, NullReferenceException, InvalidOperationException, IndexOutOfRangeException, OutOfMemoryException, ObjectDisposedException, SocketException, ArrayTypeMismatchException, SerializationException, IOException, FormatException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionNullReferenceExceptionInvalidOperationExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionObjectDisposedExceptionSocketExceptionArrayTypeMismatchExceptionSerializationExceptionIOExceptionFormatExceptionpublic boolean SendPacketsAsync(SocketAsyncEventArgs e) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, OutOfMemoryException, InvalidOperationException, FormatException, ArgumentNullException, EventSourceException, SocketException, ArrayTypeMismatchException, SerializationException, CultureNotFoundException, IOException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionInvalidOperationExceptionFormatExceptionArgumentNullExceptionEventSourceExceptionSocketExceptionArrayTypeMismatchExceptionSerializationExceptionCultureNotFoundExceptionIOExceptionpublic int SendTo(byte[] buffer,
EndPoint remoteEP)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
InvalidOperationException,
SocketException,
OutOfMemoryException,
ArgumentNullException,
ArrayTypeMismatchException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidOperationExceptionSocketExceptionOutOfMemoryExceptionArgumentNullExceptionArrayTypeMismatchExceptionpublic int SendTo(byte[] buffer,
int offset,
int size,
SocketFlags socketFlags,
EndPoint remoteEP)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ObjectDisposedException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException,
SocketException,
OutOfMemoryException,
EventSourceException,
ArgumentNullException,
ArrayTypeMismatchException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionSocketExceptionOutOfMemoryExceptionEventSourceExceptionArgumentNullExceptionArrayTypeMismatchExceptionpublic int SendTo(byte[] buffer,
int size,
SocketFlags socketFlags,
EndPoint remoteEP)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
InvalidOperationException,
SocketException,
OutOfMemoryException,
ArgumentNullException,
ArrayTypeMismatchException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidOperationExceptionSocketExceptionOutOfMemoryExceptionArgumentNullExceptionArrayTypeMismatchExceptionpublic int SendTo(byte[] buffer,
SocketFlags socketFlags,
EndPoint remoteEP)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
InvalidOperationException,
SocketException,
OutOfMemoryException,
ArgumentNullException,
ArrayTypeMismatchException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidOperationExceptionSocketExceptionOutOfMemoryExceptionArgumentNullExceptionArrayTypeMismatchExceptionpublic int SendTo(JCORefOut dupParam0, EndPoint dupParam1) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidOperationException, SocketException, OutOfMemoryException, ArgumentNullException, ArrayTypeMismatchException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidOperationExceptionSocketExceptionOutOfMemoryExceptionArgumentNullExceptionArrayTypeMismatchExceptionpublic int SendTo(JCORefOut dupParam0, int dupParam1, int dupParam2, SocketFlags dupParam3, EndPoint dupParam4) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, SocketException, OutOfMemoryException, EventSourceException, ArgumentNullException, ArrayTypeMismatchException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionSocketExceptionOutOfMemoryExceptionEventSourceExceptionArgumentNullExceptionArrayTypeMismatchExceptionpublic int SendTo(JCORefOut dupParam0, int dupParam1, SocketFlags dupParam2, EndPoint dupParam3) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidOperationException, SocketException, OutOfMemoryException, ArgumentNullException, ArrayTypeMismatchException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidOperationExceptionSocketExceptionOutOfMemoryExceptionArgumentNullExceptionArrayTypeMismatchExceptionpublic int SendTo(JCORefOut dupParam0, SocketFlags dupParam1, EndPoint dupParam2) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidOperationException, SocketException, OutOfMemoryException, ArgumentNullException, ArrayTypeMismatchException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidOperationExceptionSocketExceptionOutOfMemoryExceptionArgumentNullExceptionArrayTypeMismatchExceptionpublic boolean SendToAsync(SocketAsyncEventArgs e) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, ArrayTypeMismatchException, SocketException, ArgumentNullException, NullReferenceException, InvalidOperationException
public void setBlocking(boolean Blocking)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ObjectDisposedException,
PlatformNotSupportedException,
OutOfMemoryException,
FormatException,
ArgumentNullException,
EventSourceException,
SocketException
public void setDontFragment(boolean DontFragment)
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentNullException,
OutOfMemoryException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArgumentException,
FormatException,
InvalidOperationException,
EventSourceException,
SocketException,
NotSupportedException
public void setDualMode(boolean DualMode)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
OutOfMemoryException,
FormatException,
EventSourceException,
ArrayTypeMismatchException,
SocketException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionArrayTypeMismatchExceptionSocketExceptionpublic void setEnableBroadcast(boolean EnableBroadcast)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
PlatformNotSupportedException,
IndexOutOfRangeException,
OutOfMemoryException,
ArgumentOutOfRangeException,
InvalidOperationException,
FormatException,
ArgumentNullException,
EventSourceException,
ArrayTypeMismatchException,
SocketException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionFormatExceptionArgumentNullExceptionEventSourceExceptionArrayTypeMismatchExceptionSocketExceptionpublic void setExclusiveAddressUse(boolean ExclusiveAddressUse)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
OutOfMemoryException,
FormatException,
EventSourceException,
ArrayTypeMismatchException,
SocketException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionArrayTypeMismatchExceptionSocketExceptionpublic void SetIPProtectionLevel(IPProtectionLevel level) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, OutOfMemoryException, FormatException, EventSourceException, ArrayTypeMismatchException, SocketException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionArrayTypeMismatchExceptionSocketExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic void setLingerState(LingerOption LingerState) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, ArgumentNullException, EventSourceException, SocketException, ArrayTypeMismatchException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionFormatExceptionArgumentNullExceptionEventSourceExceptionSocketExceptionArrayTypeMismatchExceptionpublic void setMulticastLoopback(boolean MulticastLoopback)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
PlatformNotSupportedException,
IndexOutOfRangeException,
OutOfMemoryException,
ArgumentOutOfRangeException,
InvalidOperationException,
FormatException,
ArgumentNullException,
EventSourceException,
ArrayTypeMismatchException,
SocketException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionFormatExceptionArgumentNullExceptionEventSourceExceptionArrayTypeMismatchExceptionSocketExceptionpublic void setNoDelay(boolean NoDelay)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
PlatformNotSupportedException,
IndexOutOfRangeException,
OutOfMemoryException,
ArgumentOutOfRangeException,
InvalidOperationException,
FormatException,
ArgumentNullException,
EventSourceException,
ArrayTypeMismatchException,
SocketException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionFormatExceptionArgumentNullExceptionEventSourceExceptionArrayTypeMismatchExceptionSocketExceptionpublic void setReceiveBufferSize(int ReceiveBufferSize)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
OutOfMemoryException,
FormatException,
EventSourceException,
SocketException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSocketExceptionpublic void setReceiveTimeout(int ReceiveTimeout)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException,
EventSourceException,
SocketException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionEventSourceExceptionSocketExceptionpublic void setSendBufferSize(int SendBufferSize)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
OutOfMemoryException,
FormatException,
EventSourceException,
SocketException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionEventSourceExceptionSocketExceptionpublic void setSendTimeout(int SendTimeout)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException,
EventSourceException,
SocketException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionEventSourceExceptionSocketExceptionpublic void SetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, boolean optionValue) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, ArgumentNullException, EventSourceException, ArrayTypeMismatchException, SocketException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionObjectDisposedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionFormatExceptionArgumentNullExceptionEventSourceExceptionArrayTypeMismatchExceptionSocketExceptionpublic void SetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, byte[] optionValue) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, OutOfMemoryException, FormatException, ArgumentNullException, EventSourceException, ArrayTypeMismatchException, SocketException
public void SetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, int optionValue) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, OutOfMemoryException, FormatException, ArgumentNullException, EventSourceException, ArrayTypeMismatchException, SocketException
public void SetSocketOption(SocketOptionLevel dupParam0, SocketOptionName dupParam1, JCORefOut dupParam2) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, OutOfMemoryException, FormatException, ArgumentNullException, EventSourceException, ArrayTypeMismatchException, SocketException
public void SetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, NetObject optionValue) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, OutOfMemoryException, FormatException, ArgumentNullException, EventSourceException, SocketException, ArrayTypeMismatchException
public void setTtl(short Ttl)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException,
EventSourceException,
SocketException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionEventSourceExceptionSocketExceptionpublic void setUseOnlyOverlappedIO(boolean UseOnlyOverlappedIO)
throws java.lang.Throwable
java.lang.Throwablepublic void Shutdown(SocketShutdown how) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, OutOfMemoryException, FormatException, ArgumentNullException, EventSourceException, SocketException