public class SocketAsyncEventArgs extends EventArgs implements java.lang.AutoCloseable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Net.Sockets.SocketAsyncEventArgs
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Net.Sockets, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Net.Sockets
|
static java.lang.String |
className
Qualified class name: System.Net.Sockets.SocketAsyncEventArgs
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
SocketAsyncEventArgs() |
SocketAsyncEventArgs(boolean unsafeSuppressExecutionContextFlow) |
SocketAsyncEventArgs(java.lang.Object instance)
Internal constructor.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public SocketAsyncEventArgs()
throws java.lang.Throwable,
ArgumentNullException,
PlatformNotSupportedException,
OutOfMemoryException,
ArgumentOutOfRangeException,
NotSupportedException,
ArgumentException,
InvalidOperationException,
ArrayTypeMismatchException,
FormatException,
EventSourceException
public SocketAsyncEventArgs(boolean unsafeSuppressExecutionContextFlow)
throws java.lang.Throwable,
ArgumentNullException,
PlatformNotSupportedException,
OutOfMemoryException,
ArgumentOutOfRangeException,
NullReferenceException,
NotSupportedException,
ArgumentException,
InvalidOperationException,
IndexOutOfRangeException,
ArrayTypeMismatchException,
FormatException,
EventSourceException
java.lang.ThrowableArgumentNullExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionArgumentOutOfRangeExceptionNullReferenceExceptionNotSupportedExceptionArgumentExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionFormatExceptionEventSourceExceptionpublic SocketAsyncEventArgs(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static SocketAsyncEventArgs cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into SocketAsyncEventArgs, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedSocketAsyncEventArgs 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 Dispose()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
NullReferenceException
public Socket getAcceptSocket() throws java.lang.Throwable
java.lang.Throwablepublic byte[] getBuffer()
throws java.lang.Throwable,
PlatformNotSupportedException
java.lang.ThrowablePlatformNotSupportedExceptionpublic int getBytesTransferred()
throws java.lang.Throwable
java.lang.Throwablepublic NetException getConnectByNameError() throws java.lang.Throwable
java.lang.Throwablepublic Socket getConnectSocket() throws java.lang.Throwable
java.lang.Throwablepublic int getCount()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getDisconnectReuseSocket()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class EventArgsString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class EventArgsString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class EventArgsObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class EventArgsString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class EventArgsJCType representing the CLR Type of the instantiated Classpublic SocketAsyncOperation getLastOperation() throws java.lang.Throwable
java.lang.Throwablepublic int getOffset()
throws java.lang.Throwable
java.lang.Throwablepublic IPPacketInformation getReceiveMessageFromPacketInfo() throws java.lang.Throwable
java.lang.Throwablepublic EndPoint getRemoteEndPoint() throws java.lang.Throwable
java.lang.Throwablepublic final SendPacketsElement[] getSendPacketsElements() throws java.lang.Throwable
java.lang.Throwablepublic TransmitFileOptions getSendPacketsFlags() throws java.lang.Throwable
java.lang.Throwablepublic int getSendPacketsSendSize()
throws java.lang.Throwable
java.lang.Throwablepublic SocketError getSocketError() throws java.lang.Throwable
java.lang.Throwablepublic SocketFlags getSocketFlags() throws java.lang.Throwable
java.lang.Throwablepublic NetObject getUserToken() throws java.lang.Throwable
java.lang.Throwablepublic void setAcceptSocket(Socket AcceptSocket) throws java.lang.Throwable
java.lang.Throwablepublic void SetBuffer(byte[] buffer,
int offset,
int count)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NullReferenceException,
ObjectDisposedException,
IndexOutOfRangeException,
FormatException,
ArrayTypeMismatchException
public void SetBuffer(int offset,
int count)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NullReferenceException,
ObjectDisposedException,
IndexOutOfRangeException,
FormatException
public void SetBuffer(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, NullReferenceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, ArrayTypeMismatchException
public void setDisconnectReuseSocket(boolean DisconnectReuseSocket)
throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class EventArgspublic void setRemoteEndPoint(EndPoint RemoteEndPoint) throws java.lang.Throwable
java.lang.Throwablepublic void setSendPacketsElements(SendPacketsElement[] SendPacketsElements) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, NullReferenceException, ObjectDisposedException
public void setSendPacketsFlags(TransmitFileOptions SendPacketsFlags) throws java.lang.Throwable
java.lang.Throwablepublic void setSendPacketsSendSize(int SendPacketsSendSize)
throws java.lang.Throwable
java.lang.Throwablepublic void setSocketError(SocketError SocketError) throws java.lang.Throwable
java.lang.Throwablepublic void setSocketFlags(SocketFlags SocketFlags) throws java.lang.Throwable
java.lang.Throwablepublic void setUserToken(NetObject UserToken) throws java.lang.Throwable
java.lang.Throwable