C# Class Microsoft.Protocols.TestTools.StackSdk.FileAccessService.Smb2.OPLOCK_BREAK_Acknowledgment

The SMB2 OPLOCK_BREAK Acknowledgment packet is sent by the client in response to an SMB2 OPLOCK_BREAK notification packet sent by the server. The server responds to an oplock break acknowledgment with an SMB2 OPLOCK_BREAK response. The client MUST NOT send an oplock break acknowledgment for an oplock break from level II to none. A break from level II MUST always transition to none. Thus, the client does not have to send a request to the server because there is no question how the transition was made.
Mostra file Open project: Microsoft/WindowsProtocolTestSuites

Public Properties

Property Type Description
OplockLevel OPLOCK_BREAK_Acknowledgment_OplockLevel_Values
Reserved OPLOCK_BREAK_Acknowledgment_Reserved_Values

Property Details

OplockLevel public_oe property

The resulting oplock level. This MUST be at least as permissive as the level that is specified by the server in its initial oplock break notification packet. For example, if the server specifies an SMB2_OPLOCK_LEVEL_II, the client can respond with an SMB2_OPLOCK_LEVEL_II or an SMB2_OPLOCK_LEVEL_NONE. Because SMB2_OPLOCK_LEVEL_BATCH is the highest oplock level, the server will never send a break from SMB2_OPLOCK_LEVEL_BATCH to SMB2_OPLOCK_LEVEL_BATCH. Thus this field MUST contain one of the following values:-based clients never use exclusive oplocks. There are no situations where an exclusive oplock would be used instead of using a SMB2_OPLOCK_LEVEL_BATCH.
public OPLOCK_BREAK_Acknowledgment_OplockLevel_Values OplockLevel
return OPLOCK_BREAK_Acknowledgment_OplockLevel_Values

Reserved public_oe property

Unused at the present, and MUST be treated as reserved. The client MUST set this to 0, and the server MUST ignore it on receipt.
public OPLOCK_BREAK_Acknowledgment_Reserved_Values Reserved
return OPLOCK_BREAK_Acknowledgment_Reserved_Values