프로퍼티 | 타입 | 설명 | |
---|---|---|---|
countReceivePackets | uint | ||
countTransmitPackets | uint | ||
discardedReceivePackets | uint | ||
discardedTransmitPackets | uint | ||
maxReceiveQueue | uint | ||
maxTransmitQueue | uint | ||
networkDevice | INetworkDevice | ||
receiveLock | SpinLock | ||
receiveQueue | LinkedList |
||
transmitLock | SpinLock | ||
transmitQueue | LinkedList |
메소드 | 설명 | |
---|---|---|
GetPacketFromDevice ( ) : byte[] |
Get packet from device.
|
|
NetworkDevicePacketBuffer ( INetworkDevice networkDevice ) : System.Collections.Generic |
Initializes a new instance of the NetworkDevicePacketBuffer class.
|
|
NetworkDevicePacketBuffer ( INetworkDevice networkDevice, uint maxTransmitQueue, uint maxReceiveQueue ) : System.Collections.Generic |
Initializes a new instance of the NetworkDevicePacketBuffer class.
|
|
Pulse ( ) : void |
Pulse
|
|
QueuePacketForStack ( byte data ) : bool |
Queues the packet for stack.
|
|
SendPacketToDevice ( byte data ) : bool |
Sends the packet to device.
|
메소드 | 설명 | |
---|---|---|
SendPackets ( ) : void |
Sends the packets.
|
public NetworkDevicePacketBuffer ( INetworkDevice networkDevice ) : System.Collections.Generic | ||
networkDevice | INetworkDevice | The network device. |
리턴 | System.Collections.Generic |
public NetworkDevicePacketBuffer ( INetworkDevice networkDevice, uint maxTransmitQueue, uint maxReceiveQueue ) : System.Collections.Generic | ||
networkDevice | INetworkDevice | The network device. |
maxTransmitQueue | uint | The max transmit queue. |
maxReceiveQueue | uint | The max receive queue. |
리턴 | System.Collections.Generic |
public QueuePacketForStack ( byte data ) : bool | ||
data | byte | The data. |
리턴 | bool |
public SendPacketToDevice ( byte data ) : bool | ||
data | byte | The data. |
리턴 | bool |