public static class BoardConfig.Network extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
Network()
Default native constructor.
|
Network(long size)
Native array allocator.
|
Network(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
BoardConfig.Network |
getPointer(long i) |
short |
mtu()
Network MTU, 0 is auto (usually 1500 for Ethernet) or forwarded
from bootloader (not yet implemented there).
|
BoardConfig.Network |
mtu(short setter) |
BoardConfig.Network |
position(long position) |
boolean |
xlinkTcpNoDelay()
Sets the
TCP_NODELAY option for XLink TCP sockets (disable Nagle's algorithm),
reducing latency at the expense of a small hit for max throughput. |
BoardConfig.Network |
xlinkTcpNoDelay(boolean setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic Network()
public Network(long size)
Pointer.position(long).public Network(Pointer p)
Pointer(Pointer).public BoardConfig.Network position(long position)
public BoardConfig.Network getPointer(long i)
getPointer in class Pointer@Cast(value="uint16_t") public short mtu()
public BoardConfig.Network mtu(short setter)
@Cast(value="bool") public boolean xlinkTcpNoDelay()
TCP_NODELAY option for XLink TCP sockets (disable Nagle's algorithm),
reducing latency at the expense of a small hit for max throughput. Default is truepublic BoardConfig.Network xlinkTcpNoDelay(boolean setter)
Copyright © 2023. All rights reserved.