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.Logger
private OutstandingRequests
Fields inherited from class com.hierynomus.smbj.connection.packet.AbstractIncomingPacketHandler
next
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.hierynomus.smbj.connection.packet.SMB2PacketHandler
canHandle, doHandle
Methods inherited from class com.hierynomus.smbj.connection.packet.AbstractIncomingPacketHandler
handle, setNext
-
Field Details
-
logger
private static final org.slf4j.Logger logger -
outstandingRequests
-
-
Constructor Details
-
SMB2IsOutstandingPacketHandler
-
-
Method Details
-
doSMB2Handle
- Specified by:
doSMB2Handle
in classSMB2PacketHandler
- Throws:
TransportException
-