Package system.net.sockets
Class SocketAsyncEventArgs
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.EventArgs
-
- system.net.sockets.SocketAsyncEventArgs
-
- All Implemented Interfaces:
java.lang.AutoCloseable,IJCOBridgeReflected
public class SocketAsyncEventArgs extends EventArgs implements java.lang.AutoCloseable
The base .NET class managing System.Net.Sockets.SocketAsyncEventArgs, System.Net.Sockets, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..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
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System.Net.Sockets, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.Net.Socketsstatic java.lang.StringclassNameQualified class name: System.Net.Sockets.SocketAsyncEventArgsstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description SocketAsyncEventArgs()SocketAsyncEventArgs(boolean unsafeSuppressExecutionContextFlow)SocketAsyncEventArgs(java.lang.Object instance)Internal constructor.
-
Method Summary
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Net.Sockets, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Net.Sockets- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Net.Sockets.SocketAsyncEventArgs- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SocketAsyncEventArgs
public SocketAsyncEventArgs(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
SocketAsyncEventArgs
public SocketAsyncEventArgs() throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, OutOfMemoryException, ArgumentOutOfRangeException, NotSupportedException, ArgumentException, InvalidOperationException, IndexOutOfRangeException, ArrayTypeMismatchException, FormatException, EventSourceException
-
SocketAsyncEventArgs
public SocketAsyncEventArgs(boolean unsafeSuppressExecutionContextFlow) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, OutOfMemoryException, ArgumentOutOfRangeException, NullReferenceException, NotSupportedException, ArgumentException, InvalidOperationException, IndexOutOfRangeException, ArrayTypeMismatchException, FormatException, EventSourceException- Throws:
java.lang.ThrowableArgumentNullExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionArgumentOutOfRangeExceptionNullReferenceExceptionNotSupportedExceptionArgumentExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionFormatExceptionEventSourceException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classEventArgs- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classEventArgs- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classEventArgs- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classEventArgs- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classEventArgs
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classEventArgs- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static SocketAsyncEventArgs cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoSocketAsyncEventArgs, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
SocketAsyncEventArgsinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Dispose
public void Dispose() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, NullReferenceException
-
SetBuffer
public void SetBuffer(byte[] buffer, int offset, int count) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, NullReferenceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, ArrayTypeMismatchException
-
SetBuffer
public void SetBuffer(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, NullReferenceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, ArrayTypeMismatchException
-
SetBuffer
public void SetBuffer(int offset, int count) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, NullReferenceException, ObjectDisposedException, IndexOutOfRangeException, FormatException
-
close
public void close() throws java.lang.Exception- Specified by:
closein interfacejava.lang.AutoCloseable- Throws:
java.lang.Exception
-
getDisconnectReuseSocket
public boolean getDisconnectReuseSocket() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setDisconnectReuseSocket
public void setDisconnectReuseSocket(boolean DisconnectReuseSocket) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getBuffer
public byte[] getBuffer() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
getBytesTransferred
public int getBytesTransferred() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getCount
public int getCount() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getOffset
public int getOffset() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getSendPacketsSendSize
public int getSendPacketsSendSize() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setSendPacketsSendSize
public void setSendPacketsSendSize(int SendPacketsSendSize) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getConnectByNameError
public NetException getConnectByNameError() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getRemoteEndPoint
public EndPoint getRemoteEndPoint() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setRemoteEndPoint
public void setRemoteEndPoint(EndPoint RemoteEndPoint) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getReceiveMessageFromPacketInfo
public IPPacketInformation getReceiveMessageFromPacketInfo() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSendPacketsElements
public final SendPacketsElement[] getSendPacketsElements() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSendPacketsElements
public void setSendPacketsElements(SendPacketsElement[] SendPacketsElements) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, NullReferenceException, ObjectDisposedException
-
getAcceptSocket
public Socket getAcceptSocket() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setAcceptSocket
public void setAcceptSocket(Socket AcceptSocket) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getConnectSocket
public Socket getConnectSocket() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getLastOperation
public SocketAsyncOperation getLastOperation() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSocketError
public SocketError getSocketError() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSocketError
public void setSocketError(SocketError SocketError) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSocketFlags
public SocketFlags getSocketFlags() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSocketFlags
public void setSocketFlags(SocketFlags SocketFlags) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSendPacketsFlags
public TransmitFileOptions getSendPacketsFlags() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSendPacketsFlags
public void setSendPacketsFlags(TransmitFileOptions SendPacketsFlags) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getUserToken
public NetObject getUserToken() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setUserToken
public void setUserToken(NetObject UserToken) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-