public class SMBSrvPacketQueue extends Object
Packet queue used for asynchronous I/O queueing.
Modifier and Type | Class and Description |
---|---|
class |
SMBSrvPacketQueue.QueuedSMBPacket
Queued SMB Packet Class
|
Constructor and Description |
---|
SMBSrvPacketQueue()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addToQueue(SMBSrvPacket pkt,
int offset,
int len,
boolean writeRaw)
Add an SMB packet to the queue
|
SMBSrvPacketQueue.QueuedSMBPacket |
getHeadOfQueue()
Return the request at the head of the queue without removing from the queue
|
int |
numberOfPackets()
Return the count of packets in the queue
|
SMBSrvPacketQueue.QueuedSMBPacket |
removeFromQueue()
Remove an SMB packet from the head of the queue
|
String |
toString()
Return the queue details as a string
|
public final void addToQueue(SMBSrvPacket pkt, int offset, int len, boolean writeRaw)
pkt
- SMBSrvPacketoffset
- intlen
- intwriteRaw
- booleanpublic final SMBSrvPacketQueue.QueuedSMBPacket removeFromQueue()
public final SMBSrvPacketQueue.QueuedSMBPacket getHeadOfQueue()
public final int numberOfPackets()
Copyright © 2005–2018 Alfresco Software. All rights reserved.