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.StringgetNetName()protected voidreadContext(SMBBuffer buffer, int dataSize)Read the negotiate contextprotected intwriteContext(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:SMB2NegotiateContextWrite the negotiate context fields into the buffer, as specified in the [MS-SMB2].pdf specification.- Overrides:
writeContextin classSMB2NegotiateContext
-
readContext
protected void readContext(SMBBuffer buffer, int dataSize) throws Buffer.BufferException
Description copied from class:SMB2NegotiateContextRead the negotiate context- Overrides:
readContextin classSMB2NegotiateContext- Parameters:
buffer- the buffer to read context- Throws:
Buffer.BufferException
-
getNetName
public java.lang.String getNetName()
-
-