Class SMB2AsyncResponsePacketHandler
java.lang.Object
com.hierynomus.smbj.connection.packet.AbstractIncomingPacketHandler
com.hierynomus.smbj.connection.packet.SMB2PacketHandler
com.hierynomus.smbj.connection.packet.SMB2AsyncResponsePacketHandler
- All Implemented Interfaces:
IncomingPacketHandler
3.2.5.1.5 Handling Asynchronous Responses
If SMB2_FLAGS_ASYNC_COMMAND is set in the Flags field of the SMB2 header of the response and the Status field in the
SMB2 header is STATUS_PENDING, the client MUST mark the request in Connection.OutstandingRequests as being handled
asynchronously by storing the AsyncId of the response in Request.AsyncId. The client SHOULD<153> extend the
Request Expiration Timer, as specified in section 3.2.6.1. Processing of this response is now complete.
If SMB2_FLAGS_ASYNC_COMMAND is set in the Flags field of the SMB2 header and Status is not STATUS_PENDING,
this is a final response to a request which was processed by the server asynchronously, and processing MUST
continue as specified below.
-
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
-
SMB2AsyncResponsePacketHandler
-
-
Method Details
-
doSMB2Handle
- Specified by:
doSMB2Handle
in classSMB2PacketHandler
- Throws:
TransportException
-