- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for ensureOpen (0.18 sec)
-
src/main/java/jcifs/smb/SmbPipeOutputStream.java
return this.handle.ensureTreeConnected(); } @Override protected synchronized SmbFileHandleImpl ensureOpen () throws CIFSException { return this.handle.ensureOpen(); } /** * @return the handle */ protected SmbPipeHandleImpl getHandle () { return this.handle; } @Override
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
} else { throw new IllegalArgumentException("Invalid mode"); } try ( SmbFileHandle h = ensureOpen() ) {} this.readSize = th.getReceiveBufferSize() - 70; this.writeSize = th.getSendBufferSize() - 70; if ( th.hasCapability(SmbConstants.CAP_LARGE_READX) ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Wed Jan 08 12:01:33 UTC 2020 - 18.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeInputStream.java
return this.handle.ensureTreeConnected(); } @Override protected synchronized SmbFileHandleImpl ensureOpen () throws CIFSException { return this.handle.ensureOpen(); } /** * This stream class is unbuffered. Therefore this method will always * return 0 for streams connected to regular files. However, a
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Aug 05 07:12:23 UTC 2018 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
this.access = access | SmbConstants.FILE_WRITE_DATA; try ( SmbTreeHandleImpl th = file.ensureTreeConnected() ) { this.smb2 = th.isSMB2(); try ( SmbFileHandleImpl fh = ensureOpen() ) { if ( append ) { this.fp = fh.getInitialSize(); } init(th); if ( !append && this.smb2 ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Nov 13 15:14:04 UTC 2021 - 11.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeHandleImpl.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Apr 13 17:05:22 UTC 2020 - 10.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeHandleInternal.java
* @throws CIFSException */ SmbTreeHandleInternal ensureTreeConnected () throws CIFSException; /** * @return file handle * @throws CIFSException */ SmbFileHandle ensureOpen () throws CIFSException; /** * @param buf * @param off * @param length * @param direct * @return received bytes * @throws CIFSException * @throws IOException
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TransactNamedPipeOutputStream.java
} else if(( pipe.pipeType & SmbNamedPipe.PIPE_TYPE_TRANSACT ) == SmbNamedPipe.PIPE_TYPE_TRANSACT ) { ensureOpen(); TransTransactNamedPipe req = new TransTransactNamedPipe( pipe.fid, b, off, len ); if (dcePipe) { req.maxDataCount = 1024; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 2.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
* @throws CIFSException */ public void open () throws CIFSException { try ( SmbFileHandleImpl fh = ensureOpen() ) {} } /** * @param file * @param openFlags * @return * @throws SmbException */ synchronized SmbFileHandleImpl ensureOpen () throws CIFSException { if ( this.handle == null || !this.handle.isValid() ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun May 17 08:55:14 UTC 2020 - 13.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java
*/ public void write( byte[] b ) throws IOException { write( b, 0, b.length ); } public boolean isOpen() { return file.isOpen(); } void ensureOpen() throws IOException { // ensure file is open if( file.isOpen() == false ) { file.open( openFlags, access | SmbConstants.FILE_WRITE_DATA, SmbFile.ATTR_NORMAL, 0 ); if( append ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 9.2K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
int getNextNameTrnId () { if ( ( ++this.nextNameTrnId & 0xFFFF ) == 0 ) { this.nextNameTrnId = 1; } return this.nextNameTrnId; } void ensureOpen ( int timeout ) throws IOException { this.closeTimeout = 0; if ( this.transportContext.getConfig().getNetbiosSoTimeout() != 0 ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Aug 14 14:26:22 UTC 2022 - 38.2K bytes - Viewed (0)