FileDocCategorySizeDatePackage
SmbComNegotiate.javaAPI DocJCIFS 1.3.17 API2022Tue Oct 18 15:26:24 BST 2011jcifs.smb

SmbComNegotiate

public class SmbComNegotiate extends ServerMessageBlock

Fields Summary
private static final String
DIALECTS
Constructors Summary
SmbComNegotiate()


     
        command = SMB_COM_NEGOTIATE;
        flags2 = DEFAULT_FLAGS2;
    
Methods Summary
intreadBytesWireFormat(byte[] buffer, int bufferIndex)

        return 0;
    
intreadParameterWordsWireFormat(byte[] buffer, int bufferIndex)

        return 0;
    
public java.lang.StringtoString()

        return new String( "SmbComNegotiate[" +
            super.toString() +
            ",wordCount="   + wordCount +
            ",dialects=NT LM 0.12]" );
    
intwriteBytesWireFormat(byte[] dst, int dstIndex)

        byte[] dialects;
        try {
            dialects = DIALECTS.getBytes( "ASCII" );
        } catch( UnsupportedEncodingException uee ) {
            return 0;
        }
        System.arraycopy( dialects, 0, dst, dstIndex, dialects.length );
        return dialects.length;
    
intwriteParameterWordsWireFormat(byte[] dst, int dstIndex)

        return 0;