private long queryFSInformation( int level ) throws SmbException { Trans2QueryFSInformationResponse response; response = new Trans2QueryFSInformationResponse( level ); send( new Trans2QueryFSInformation( level ), response ); if( type == TYPE_SHARE ) { size = response.info.getCapacity(); sizeExpiration = System.currentTimeMillis() + attrExpirationPeriod; } return response.info.getFree(); }
private long queryFSInformation( int level ) throws SmbException { Trans2QueryFSInformationResponse response; response = new Trans2QueryFSInformationResponse( level ); send( new Trans2QueryFSInformation( level ), response ); if( type == TYPE_SHARE ) { size = response.info.getCapacity(); sizeExpiration = System.currentTimeMillis() + attrExpirationPeriod; } return response.info.getFree(); }
private long queryFSInformation( int level ) throws SmbException { Trans2QueryFSInformationResponse response; response = new Trans2QueryFSInformationResponse( level ); send( new Trans2QueryFSInformation( level ), response ); if( type == TYPE_SHARE ) { size = response.info.getCapacity(); sizeExpiration = System.currentTimeMillis() + attrExpirationPeriod; } return response.info.getFree(); }
private long queryFSInformation( int level ) throws SmbException { Trans2QueryFSInformationResponse response; response = new Trans2QueryFSInformationResponse( level ); send( new Trans2QueryFSInformation( level ), response ); if( type == TYPE_SHARE ) { size = response.info.getCapacity(); sizeExpiration = System.currentTimeMillis() + attrExpirationPeriod; } return response.info.getFree(); }