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 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
-
Field Details
-
netName
-
-
Constructor Details
-
SMB2NetNameNegotiateContextId
SMB2NetNameNegotiateContextId() -
SMB2NetNameNegotiateContextId
SMB2NetNameNegotiateContextId(String netName)
-
-
Method Details
-
writeContext
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
Description copied from class:SMB2NegotiateContext
Read the negotiate context- Overrides:
readContext
in classSMB2NegotiateContext
- Parameters:
buffer
- the buffer to read context- Throws:
Buffer.BufferException
-
getNetName
-