SmbComNegotiatepublic class SmbComNegotiate extends ServerMessageBlock
Fields Summary |
---|
private static final String | DIALECTS |
Constructors Summary |
---|
SmbComNegotiate()
command = SMB_COM_NEGOTIATE;
flags2 = DEFAULT_FLAGS2;
|
Methods Summary |
---|
int | readBytesWireFormat(byte[] buffer, int bufferIndex)
return 0;
| int | readParameterWordsWireFormat(byte[] buffer, int bufferIndex)
return 0;
| public java.lang.String | toString()
return new String( "SmbComNegotiate[" +
super.toString() +
",wordCount=" + wordCount +
",dialects=NT LM 0.12]" );
| int | writeBytesWireFormat(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;
| int | writeParameterWordsWireFormat(byte[] dst, int dstIndex)
return 0;
|
|