Package com.hierynomus.mssmb2.messages
Class SMB2LeaseBreakNotification
java.lang.Object
com.hierynomus.smb.SMBPacket<SMB2PacketData,SMB2PacketHeader>
com.hierynomus.mssmb2.SMB2Packet
com.hierynomus.mssmb2.messages.SMB2LeaseBreakNotification
Server-pushed SMB2 Lease Break Notification ([MS-SMB2] 2.2.23.2, StructureSize 44).
Delivered unsolicited with
MessageId = 0xFFFFFFFFFFFFFFFF, command SMB2_OPLOCK_BREAK.-
Field Summary
FieldsFields inherited from class com.hierynomus.mssmb2.SMB2Packet
SINGLE_CREDIT_PAYLOAD_SIZE, structureSize -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongintlongbooleanparse(SMB2PacketData packetData) Parse from a received (all-FF) break packet (the notification has no outstanding request).protected voidreadMessage(SMBBuffer buffer) Read the packet body, this should be implemented by the various packet types.Methods inherited from class com.hierynomus.mssmb2.SMB2Packet
getBuffer, getCreditsAssigned, getError, getMaxPayloadSize, getPacket, getSequenceNumber, getStructureSize, isIntermediateAsyncResponse, isSuccess, read, setCreditsAssigned, setError, toString, write, writeTo
-
Field Details
-
SMB2_NOTIFY_BREAK_LEASE_FLAG_ACK_REQUIRED
public static final long SMB2_NOTIFY_BREAK_LEASE_FLAG_ACK_REQUIRED- See Also:
-
-
Constructor Details
-
SMB2LeaseBreakNotification
public SMB2LeaseBreakNotification()
-
-
Method Details
-
parse
Parse from a received (all-FF) break packet (the notification has no outstanding request).- Throws:
Buffer.BufferException
-
readMessage
Description copied from class:SMB2PacketRead the packet body, this should be implemented by the various packet types.- Overrides:
readMessagein classSMB2Packet- Parameters:
buffer-- Throws:
Buffer.BufferException
-
isAckRequired
public boolean isAckRequired() -
getNewEpoch
public int getNewEpoch() -
getLeaseKey
-
getCurrentLeaseState
public long getCurrentLeaseState() -
getNewLeaseState
public long getNewLeaseState()
-