SmbComTreeConnectAndXResponsepublic class SmbComTreeConnectAndXResponse extends AndXServerMessageBlock
Fields Summary |
---|
private static final int | SMB_SUPPORT_SEARCH_BITS | private static final int | SMB_SHARE_IS_IN_DFS | boolean | supportSearchBits | boolean | shareIsInDfs | String | service | String | nativeFileSystem |
Methods Summary |
---|
int | readBytesWireFormat(byte[] buffer, int bufferIndex)
int start = bufferIndex;
int len = readStringLength( buffer, bufferIndex, 32 );
try {
service = new String( buffer, bufferIndex, len, "ASCII" );
} catch( UnsupportedEncodingException uee ) {
return 0;
}
bufferIndex += len + 1;
// win98 observed not returning nativeFileSystem
/* Problems here with iSeries returning ASCII even though useUnicode = true
* Fortunately we don't really need nativeFileSystem for anything.
if( byteCount > bufferIndex - start ) {
nativeFileSystem = readString( buffer, bufferIndex );
bufferIndex += stringWireLength( nativeFileSystem, bufferIndex );
}
*/
return bufferIndex - start;
| int | readParameterWordsWireFormat(byte[] buffer, int bufferIndex)
supportSearchBits = ( buffer[bufferIndex] & SMB_SUPPORT_SEARCH_BITS ) == SMB_SUPPORT_SEARCH_BITS;
shareIsInDfs = ( buffer[bufferIndex] & SMB_SHARE_IS_IN_DFS ) == SMB_SHARE_IS_IN_DFS;
return 2;
| public java.lang.String | toString()
String result = new String( "SmbComTreeConnectAndXResponse[" +
super.toString() +
",supportSearchBits=" + supportSearchBits +
",shareIsInDfs=" + shareIsInDfs +
",service=" + service +
",nativeFileSystem=" + nativeFileSystem + "]" );
return result;
| int | writeBytesWireFormat(byte[] dst, int dstIndex)
return 0;
| int | writeParameterWordsWireFormat(byte[] dst, int dstIndex)
return 0;
|
|