Class SMB2IsOutstandingPacketHandler
java.lang.Object
com.hierynomus.smbj.connection.packet.AbstractIncomingPacketHandler
com.hierynomus.smbj.connection.packet.SMB2PacketHandler
com.hierynomus.smbj.connection.packet.SMB2IsOutstandingPacketHandler
- All Implemented Interfaces:
IncomingPacketHandler
[MS-SMB2] 3.2.5.1.2 Finding the Application Request for This Response
The client MUST locate the request for which this response was sent in reply by locating the request in Connection.OutstandingRequests using the MessageId field of the SMB2 header. If the request is not found, the response MUST be discarded as invalid.
If the MessageId is 0xFFFFFFFFFFFFFFFF, this is not a reply to a previous request, and the client MUST NOT attempt to locate the request, but instead process it as follows:
If the command field in the SMB2 header is SMB2 OPLOCK_BREAK, it MUST be processed as specified in 3.2.5.19. Otherwise, the response MUST be discarded as invalid.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.slf4j.Loggerprivate OutstandingRequestsFields inherited from class AbstractIncomingPacketHandler
next -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class SMB2PacketHandler
canHandle, doHandleMethods inherited from class AbstractIncomingPacketHandler
handle, setNext
-
Field Details
-
logger
private static final org.slf4j.Logger logger -
outstandingRequests
-
-
Constructor Details
-
SMB2IsOutstandingPacketHandler
-
-
Method Details
-
doSMB2Handle
- Specified by:
doSMB2Handlein classSMB2PacketHandler- Throws:
TransportException
-