java.lang.Object
org.codelibs.jcifs.smb.internal.SmbNegotiation
Container class for SMB protocol negotiation state.
Holds the negotiation request, response, and raw buffer data exchanged
between client and server during SMB protocol version negotiation.
- Author:
- mbechler
-
Constructor Summary
ConstructorsConstructorDescriptionSmbNegotiation(SmbNegotiationRequest request, SmbNegotiationResponse response, byte[] negoReqBuffer, byte[] negoRespBuffer) Constructs an SMB negotiation result. -
Method Summary
Modifier and TypeMethodDescriptionGets the negotiation request.byte[]Gets the raw negotiation request buffer.Gets the negotiation response.byte[]Gets the raw negotiation response buffer.
-
Constructor Details
-
SmbNegotiation
public SmbNegotiation(SmbNegotiationRequest request, SmbNegotiationResponse response, byte[] negoReqBuffer, byte[] negoRespBuffer) Constructs an SMB negotiation result.- Parameters:
request- the negotiation requestresponse- the negotiation responsenegoReqBuffer- the raw request buffernegoRespBuffer- the raw response buffer
-
-
Method Details
-
getRequest
Gets the negotiation request.- Returns:
- the request
-
getResponse
Gets the negotiation response.- Returns:
- the response
-
getRequestRaw
public byte[] getRequestRaw()Gets the raw negotiation request buffer.- Returns:
- the negoReqBuffer
-
getResponseRaw
public byte[] getResponseRaw()Gets the raw negotiation response buffer.- Returns:
- the negoRespBuffer
-