Class SMB2LeaseBreakPacketHandler

All Implemented Interfaces:
IncomingPacketHandler

public class SMB2LeaseBreakPacketHandler extends SMB2PacketHandler
Intercepts server-pushed SMB2 break notifications (unsolicited, MessageId = 0xFFFF…, command SMB2_OPLOCK_BREAK). A 44-byte lease break is parsed and dispatched OFF the read thread to the LeaseManager; the packet is then consumed (never forwarded), which avoids the NPE in SMB2AsyncResponsePacketHandler and the throw in SMB2MessageConverter that a break would otherwise trigger. Every non-break packet is forwarded unchanged.

Inserted right after SMB2IsOutstandingPacketHandler (which passes the break through rather than dead-lettering it) and before signature verification (the break is unsigned, SessionId 0).