Class SMB2MultiCreditPacket

All Implemented Interfaces:
Packet<SMBBuffer>
Direct Known Subclasses:
SMB2ChangeNotifyRequest, SMB2IoctlRequest, SMB2QueryDirectoryRequest, SMB2ReadRequest, SMB2WriteRequest

public class SMB2MultiCreditPacket extends SMB2Packet
  • Field Details

    • maxPayloadSize

      private int maxPayloadSize
  • Constructor Details

    • SMB2MultiCreditPacket

      public SMB2MultiCreditPacket(int structureSize, SMB2Dialect dialect, SMB2MessageCommandCode messageType, long sessionId, long treeId, int maxPayloadSize)
  • Method Details

    • getMaxPayloadSize

      public int getMaxPayloadSize()
      Description copied from class: SMB2Packet
      Returns the maximum payload size of this packet. Normally this is the SMB2Packet.SINGLE_CREDIT_PAYLOAD_SIZE. Can be overridden in subclasses to support multi-credit messages.
      Overrides:
      getMaxPayloadSize in class SMB2Packet
      Returns:
    • getPayloadSize

      protected int getPayloadSize()