Package com.hierynomus.mssmb2.messages
Class SMB2Logoff
- java.lang.Object
-
- com.hierynomus.smb.SMBPacket<SMB2PacketData,SMB2PacketHeader>
-
- com.hierynomus.mssmb2.SMB2Packet
-
- com.hierynomus.mssmb2.messages.SMB2Logoff
-
public class SMB2Logoff extends SMB2Packet
[MS-SMB2].pdf 2.2.7 SMB2 Logoff Request / 2.2.8 SMB Logoff Response
-
-
Field Summary
-
Fields inherited from class com.hierynomus.mssmb2.SMB2Packet
SINGLE_CREDIT_PAYLOAD_SIZE, structureSize
-
-
Constructor Summary
Constructors Constructor Description SMB2Logoff()SMB2Logoff(SMB2Dialect smbDialect, long sessionId)
-
Method Summary
Modifier and Type Method Description protected voidreadMessage(SMBBuffer buffer)Read the packet body, this should be implemented by the various packet types.protected voidwriteTo(SMBBuffer buffer)Write the message fields into the buffer, as specified in the [MS-SMB2] specification.-
Methods inherited from class com.hierynomus.mssmb2.SMB2Packet
getBuffer, getCreditsAssigned, getError, getMaxPayloadSize, getPacket, getSequenceNumber, getStructureSize, isIntermediateAsyncResponse, isSuccess, read, setCreditsAssigned, setError, toString, write
-
-
-
-
Constructor Detail
-
SMB2Logoff
public SMB2Logoff()
-
SMB2Logoff
public SMB2Logoff(SMB2Dialect smbDialect, long sessionId)
-
-
Method Detail
-
writeTo
protected void writeTo(SMBBuffer buffer)
Description copied from class:SMB2PacketWrite the message fields into the buffer, as specified in the [MS-SMB2] specification.- Overrides:
writeToin classSMB2Packet
-
readMessage
protected void readMessage(SMBBuffer buffer) throws Buffer.BufferException
Description copied from class:SMB2PacketRead the packet body, this should be implemented by the various packet types.- Overrides:
readMessagein classSMB2Packet- Throws:
Buffer.BufferException
-
-