public class SendPacketsElement extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Net.Sockets.SendPacketsElement
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.SendPacketsElement
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
SendPacketsElement() |
SendPacketsElement(byte[] buffer)
Initializes a new instance by invoking the .NET constructor.
|
SendPacketsElement(byte[] buffer,
int offset,
int count)
Initializes a new instance by invoking the .NET constructor.
|
SendPacketsElement(byte[] buffer,
int offset,
int count,
boolean endOfPacket)
Initializes a new instance by invoking the .NET constructor.
|
SendPacketsElement(FileStream fileStream)
Initializes a new instance by invoking the .NET constructor.
|
SendPacketsElement(FileStream fileStream,
long offset,
int count)
Initializes a new instance by invoking the .NET constructor.
|
SendPacketsElement(FileStream fileStream,
long offset,
int count,
boolean endOfPacket)
Initializes a new instance by invoking the .NET constructor.
|
SendPacketsElement(java.lang.Object instance)
Internal constructor.
|
SendPacketsElement(ReadOnlyMemory_1 buffer)
Initializes a new instance by invoking the .NET constructor.
|
SendPacketsElement(ReadOnlyMemory_1 buffer,
boolean endOfPacket)
Initializes a new instance by invoking the .NET constructor.
|
SendPacketsElement(java.lang.String filepath)
Initializes a new instance by invoking the .NET constructor.
|
SendPacketsElement(java.lang.String filepath,
int offset,
int count)
Initializes a new instance by invoking the .NET constructor.
|
SendPacketsElement(java.lang.String filepath,
int offset,
int count,
boolean endOfPacket)
Initializes a new instance by invoking the .NET constructor.
|
SendPacketsElement(java.lang.String filepath,
long offset,
int count)
Initializes a new instance by invoking the .NET constructor.
|
SendPacketsElement(java.lang.String filepath,
long offset,
int count,
boolean endOfPacket)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static SendPacketsElement |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into SendPacketsElement, a cast assert is made to check if types are compatible. |
byte[] |
getBuffer()
Gets the value of the .NET property Buffer.
|
int |
getCount()
Gets the value of the .NET property Count.
|
boolean |
getEndOfPacket()
Gets the value of the .NET property EndOfPacket.
|
java.lang.String |
getFilePath()
Gets the value of the .NET property FilePath.
|
FileStream |
getFileStream()
Gets the value of the .NET property FileStream.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
Nullable_1 |
getMemoryBuffer()
Gets the value of the .NET property MemoryBuffer.
|
int |
getOffset()
Gets the value of the .NET property Offset.
|
long |
getOffsetLong()
Gets the value of the .NET property OffsetLong.
|
void |
setBuffer(byte[] Buffer)
Sets the value of the .NET property Buffer.
|
void |
setCount(int Count)
Sets the value of the .NET property Count.
|
void |
setEndOfPacket(boolean EndOfPacket)
Sets the value of the .NET property EndOfPacket.
|
void |
setFilePath(java.lang.String FilePath)
Sets the value of the .NET property FilePath.
|
void |
setFileStream(FileStream FileStream)
Sets the value of the .NET property FileStream.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setMemoryBuffer(Nullable_1 MemoryBuffer)
Sets the value of the .NET property MemoryBuffer.
|
void |
setOffsetLong(long OffsetLong)
Sets the value of the .NET property OffsetLong.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public SendPacketsElement()
throws java.lang.Throwable
java.lang.Throwablepublic SendPacketsElement(byte[] buffer)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException,
ArrayTypeMismatchException
buffer - the argument of type byte[]java.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic SendPacketsElement(byte[] buffer,
int offset,
int count)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException,
ArrayTypeMismatchException
buffer - the argument of type byte[]offset - the argument of type intcount - the argument of type intjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic SendPacketsElement(byte[] buffer,
int offset,
int count,
boolean endOfPacket)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException,
FormatException
buffer - the argument of type byte[]offset - the argument of type intcount - the argument of type intendOfPacket - the argument of type booleanjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic SendPacketsElement(FileStream fileStream) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
fileStream - the argument of type FileStreamjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic SendPacketsElement(FileStream fileStream, long offset, int count) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
fileStream - the argument of type FileStreamoffset - the argument of type longcount - the argument of type intjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic SendPacketsElement(FileStream fileStream, long offset, int count, boolean endOfPacket) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException
fileStream - the argument of type FileStreamoffset - the argument of type longcount - the argument of type intendOfPacket - the argument of type booleanjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic SendPacketsElement(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic SendPacketsElement(ReadOnlyMemory_1 buffer) throws java.lang.Throwable
buffer - the argument of type ReadOnlyMemory_1java.lang.Throwable - if the .NET constructor failspublic SendPacketsElement(ReadOnlyMemory_1 buffer, boolean endOfPacket) throws java.lang.Throwable
buffer - the argument of type ReadOnlyMemory_1endOfPacket - the argument of type booleanjava.lang.Throwable - if the .NET constructor failspublic SendPacketsElement(java.lang.String filepath)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException
filepath - the argument of type java.lang.Stringjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic SendPacketsElement(java.lang.String filepath,
int offset,
int count)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException
filepath - the argument of type java.lang.Stringoffset - the argument of type intcount - the argument of type intjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic SendPacketsElement(java.lang.String filepath,
int offset,
int count,
boolean endOfPacket)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException
filepath - the argument of type java.lang.Stringoffset - the argument of type intcount - the argument of type intendOfPacket - the argument of type booleanjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic SendPacketsElement(java.lang.String filepath,
long offset,
int count)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException
filepath - the argument of type java.lang.Stringoffset - the argument of type longcount - the argument of type intjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic SendPacketsElement(java.lang.String filepath,
long offset,
int count,
boolean endOfPacket)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException,
FormatException
filepath - the argument of type java.lang.Stringoffset - the argument of type longcount - the argument of type intendOfPacket - the argument of type booleanjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic static SendPacketsElement cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into SendPacketsElement, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedSendPacketsElement instancejava.lang.Throwable - in case of error during cast operationpublic byte[] getBuffer()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getCount()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getEndOfPacket()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getFilePath()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic FileStream getFileStream() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic Nullable_1 getMemoryBuffer() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getOffset()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic long getOffsetLong()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setBuffer(byte[] Buffer)
throws java.lang.Throwable
Buffer - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setCount(int Count)
throws java.lang.Throwable
Count - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setEndOfPacket(boolean EndOfPacket)
throws java.lang.Throwable
EndOfPacket - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setFilePath(java.lang.String FilePath)
throws java.lang.Throwable
FilePath - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setFileStream(FileStream FileStream) throws java.lang.Throwable
FileStream - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic void setMemoryBuffer(Nullable_1 MemoryBuffer) throws java.lang.Throwable
MemoryBuffer - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setOffsetLong(long OffsetLong)
throws java.lang.Throwable
OffsetLong - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLR