public class SMBSrvPacketQueue
extends java.lang.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
|
java.lang.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()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.