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
public class SMB2IsOutstandingPacketHandler extends SMB2PacketHandler
[MS-SMB2] 3.2.5.1.2 Finding the Application Request for This ResponseThe 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
Fields Modifier and Type Field Description private static org.slf4j.Logger
logger
private OutstandingRequests
outstandingRequests
-
Fields inherited from class com.hierynomus.smbj.connection.packet.AbstractIncomingPacketHandler
next
-
-
Constructor Summary
Constructors Constructor Description SMB2IsOutstandingPacketHandler(OutstandingRequests outstandingRequests)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doSMB2Handle(SMB2PacketData packetData)
-
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 Detail
-
logger
private static final org.slf4j.Logger logger
-
outstandingRequests
private OutstandingRequests outstandingRequests
-
-
Constructor Detail
-
SMB2IsOutstandingPacketHandler
public SMB2IsOutstandingPacketHandler(OutstandingRequests outstandingRequests)
-
-
Method Detail
-
doSMB2Handle
protected void doSMB2Handle(SMB2PacketData packetData) throws TransportException
- Specified by:
doSMB2Handle
in classSMB2PacketHandler
- Throws:
TransportException
-
-