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
public class SMB2AsyncResponsePacketHandler extends SMB2PacketHandler
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
-
Fields inherited from class com.hierynomus.smbj.connection.packet.AbstractIncomingPacketHandler
next
-
-
Constructor Summary
Constructors Constructor Description SMB2AsyncResponsePacketHandler(OutstandingRequests outstandingRequests)
-
Method Summary
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
-
-
-
-
Constructor Detail
-
SMB2AsyncResponsePacketHandler
public SMB2AsyncResponsePacketHandler(OutstandingRequests outstandingRequests)
-
-
Method Detail
-
doSMB2Handle
protected void doSMB2Handle(SMB2PacketData packetData) throws TransportException
- Specified by:
doSMB2Handle
in classSMB2PacketHandler
- Throws:
TransportException
-
-