Class SMB2NetNameNegotiateContextId
java.lang.Object
com.hierynomus.mssmb2.messages.negotiate.SMB2NegotiateContext
com.hierynomus.mssmb2.messages.negotiate.SMB2NetNameNegotiateContextId
[MS-SMB2].pdf 2.2.3.1.4 / 2.2.4.1.4 SMB2_NETNAME_NEGOTIATE_CONTEXT_ID Request/Response
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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 SMB2NegotiateContext
factory, getNegotiateContextType, read, write
-
Field Details
-
netName
-
-
Constructor Details
-
SMB2NetNameNegotiateContextId
SMB2NetNameNegotiateContextId() -
SMB2NetNameNegotiateContextId
SMB2NetNameNegotiateContextId(String netName)
-
-
Method Details
-
writeContext
Description copied from class:SMB2NegotiateContextWrite the negotiate context fields into the buffer, as specified in the [MS-SMB2].pdf specification.- Overrides:
writeContextin classSMB2NegotiateContext
-
readContext
Description copied from class:SMB2NegotiateContextRead the negotiate context- Overrides:
readContextin classSMB2NegotiateContext- Parameters:
buffer- the buffer to read context- Throws:
Buffer.BufferException
-
getNetName
-