Class SMB2NetNameNegotiateContextId
- java.lang.Object
-
- com.hierynomus.mssmb2.messages.negotiate.SMB2NegotiateContext
-
- com.hierynomus.mssmb2.messages.negotiate.SMB2NetNameNegotiateContextId
-
public class SMB2NetNameNegotiateContextId extends SMB2NegotiateContext
[MS-SMB2].pdf 2.2.3.1.4 / 2.2.4.1.4 SMB2_NETNAME_NEGOTIATE_CONTEXT_ID Request/Response
-
-
Method Summary
Modifier and Type Method Description java.lang.String
getNetName()
protected void
readContext(SMBBuffer buffer, int dataSize)
Read the negotiate contextprotected int
writeContext(SMBBuffer buffer)
Write the negotiate context fields into the buffer, as specified in the [MS-SMB2].pdf specification.-
Methods inherited from class com.hierynomus.mssmb2.messages.negotiate.SMB2NegotiateContext
factory, getNegotiateContextType, read, write
-
-
-
-
Method Detail
-
writeContext
protected int writeContext(SMBBuffer buffer)
Description copied from class:SMB2NegotiateContext
Write the negotiate context fields into the buffer, as specified in the [MS-SMB2].pdf specification.- Overrides:
writeContext
in classSMB2NegotiateContext
-
readContext
protected void readContext(SMBBuffer buffer, int dataSize) throws Buffer.BufferException
Description copied from class:SMB2NegotiateContext
Read the negotiate context- Overrides:
readContext
in classSMB2NegotiateContext
- Parameters:
buffer
- the buffer to read context- Throws:
Buffer.BufferException
-
getNetName
public java.lang.String getNetName()
-
-