Class SMB2Echo
java.lang.Object
com.hierynomus.smb.SMBPacket<SMB2PacketData, SMB2PacketHeader>
com.hierynomus.mssmb2.SMB2Packet
com.hierynomus.mssmb2.messages.SMB2Echo
[MS-SMB2].pdf 2.2.28 SMB2 ECHO Request
-
Field Summary
Fields inherited from class SMB2Packet
SINGLE_CREDIT_PAYLOAD_SIZE, structureSize -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidreadMessage(SMBBuffer buffer) Read the packet body, this should be implemented by the various packet types.protected voidWrite the message fields into the buffer, as specified in the [MS-SMB2] specification.Methods inherited from class SMB2Packet
getBuffer, getCreditsAssigned, getError, getMaxPayloadSize, getPacket, getSequenceNumber, getStructureSize, isIntermediateAsyncResponse, isSuccess, read, setCreditsAssigned, setError, toString, write
-
Constructor Details
-
SMB2Echo
public SMB2Echo() -
SMB2Echo
-
-
Method Details
-
writeTo
Description copied from class:SMB2PacketWrite the message fields into the buffer, as specified in the [MS-SMB2] specification.- Overrides:
writeToin classSMB2Packet- Parameters:
buffer-
-
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
-