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=8.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.String
assemblyFullName
Fully assembly qualified name: System.Net.Sockets, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.Net.Socketsstatic java.lang.String
className
Qualified class name: System.Net.Sockets.SocketAsyncEventArgsstatic org.mases.jcobridge.JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description SocketAsyncEventArgs()
SocketAsyncEventArgs(boolean unsafeSuppressExecutionContextFlow)
SocketAsyncEventArgs(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SocketAsyncEventArgs
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoSocketAsyncEventArgs
, a cast assert is made to check if types are compatible.void
close()
void
Dispose()
Socket
getAcceptSocket()
byte[]
getBuffer()
int
getBytesTransferred()
NetException
getConnectByNameError()
Socket
getConnectSocket()
int
getCount()
boolean
getDisconnectReuseSocket()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectorg.mases.jcobridge.JCType
getJCOType()
Returns the instantiated class TypeSocketAsyncOperation
getLastOperation()
int
getOffset()
IPPacketInformation
getReceiveMessageFromPacketInfo()
EndPoint
getRemoteEndPoint()
SendPacketsElement[]
getSendPacketsElements()
TransmitFileOptions
getSendPacketsFlags()
int
getSendPacketsSendSize()
SocketError
getSocketError()
SocketFlags
getSocketFlags()
NetObject
getUserToken()
void
setAcceptSocket(Socket AcceptSocket)
void
SetBuffer(byte[] buffer, int offset, int count)
void
SetBuffer(int offset, int count)
void
SetBuffer(JCORefOut dupParam0, int dupParam1, int dupParam2)
void
setDisconnectReuseSocket(boolean DisconnectReuseSocket)
void
setJCOInstance(org.mases.jcobridge.JCObject instance)
void
setRemoteEndPoint(EndPoint RemoteEndPoint)
void
setSendPacketsElements(SendPacketsElement[] SendPacketsElements)
void
setSendPacketsFlags(TransmitFileOptions SendPacketsFlags)
void
setSendPacketsSendSize(int SendPacketsSendSize)
void
setSocketError(SocketError SocketError)
void
setSocketFlags(SocketFlags SocketFlags)
void
setUserToken(NetObject UserToken)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Net.Sockets, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Net.Sockets- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Net.Sockets.SocketAsyncEventArgs- See Also:
- Constant Field Values
-
classType
public static org.mases.jcobridge.JCType classType
The type managed from JCOBridge. SeeJCType
-
-
Constructor Detail
-
SocketAsyncEventArgs
public SocketAsyncEventArgs(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
SocketAsyncEventArgs
public SocketAsyncEventArgs() throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, OutOfMemoryException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, IndexOutOfRangeException, ArrayTypeMismatchException, FormatException, EventSourceException
-
SocketAsyncEventArgs
public SocketAsyncEventArgs(boolean unsafeSuppressExecutionContextFlow) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, OutOfMemoryException, ArgumentOutOfRangeException, InvalidOperationException, ArgumentException, NotSupportedException, IndexOutOfRangeException, ArrayTypeMismatchException, FormatException, EventSourceException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classEventArgs
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classEventArgs
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classEventArgs
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classEventArgs
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(org.mases.jcobridge.JCObject instance)
- Overrides:
setJCOInstance
in classEventArgs
-
getJCOType
public org.mases.jcobridge.JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classEventArgs
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static SocketAsyncEventArgs cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoSocketAsyncEventArgs
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
SocketAsyncEventArgs
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
Dispose
public void Dispose() throws java.lang.Throwable, PlatformNotSupportedException, InvalidOperationException, ArgumentNullException, ObjectDisposedException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
InvalidOperationException
ArgumentNullException
ObjectDisposedException
-
SetBuffer
public void SetBuffer(byte[] buffer, int offset, int count) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, ArrayTypeMismatchException
-
SetBuffer
public void SetBuffer(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, ArrayTypeMismatchException
-
SetBuffer
public void SetBuffer(int offset, int count) throws java.lang.Throwable, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException
-
close
public void close() throws java.lang.Exception
- Specified by:
close
in 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, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ObjectDisposedException
InvalidOperationException
PlatformNotSupportedException
-
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
-
-