- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 160 for opened (2.71 sec)
-
src/main/java/jcifs/internal/smb1/com/SmbComClose.java
import jcifs.internal.smb1.ServerMessageBlock; import jcifs.internal.util.SMBUtil; /** * SMB1 Close file request message. * * This command is used to close a file that was previously opened * with an Open command. */ public class SmbComClose extends ServerMessageBlock implements Request<SmbComBlankResponse> { private static final Logger log = LoggerFactory.getLogger(SmbComClose.class);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/SmbWatchHandle.java
* opened if it is not and should be closed with {@link #close()} when no longer * needed. * * Closing the context should cancel a pending notify request, but that does not seem to work reliable in all * implementations. * * Changes in between these calls (as long as the file is open) are buffered by the server, so iteratively callingRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComFindClose2.java
import jcifs.Configuration; import jcifs.internal.smb1.ServerMessageBlock; import jcifs.internal.util.SMBUtil; /** * SMB1 Find Close2 request message. * * This command is used to close a search handle that was * opened by a Trans2 Find First2 request. */ public class SmbComFindClose2 extends ServerMessageBlock { private final int sid; /** * Creates a new SMB1 find close request to close a search handle. *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java
} return results; } /** * Opens a directory for enumeration * * @return the opened directory file entry * @throws CIFSException if an error occurs opening the directory */ @SuppressWarnings("resource") @Override protected FileEntry open() throws CIFSException { final SmbTreeHandleImpl th = getTreeHandle();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java
import jcifs.internal.smb2.ServerMessageBlock2Response; import jcifs.internal.util.SMBUtil; import jcifs.util.Hexdump; /** * SMB2 Create response message. This response contains the file ID and attributes * of the created or opened file or directory. * * @author mbechler * */ public class Smb2CreateResponse extends ServerMessageBlock2Response implements SmbBasicFileInfo {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 15.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CloseRequest.java
import jcifs.internal.smb2.Smb2Constants; import jcifs.internal.util.SMBUtil; import jcifs.util.Hexdump; /** * SMB2 Close request message. This command is used to close a file or directory * that was previously opened. * * @author mbechler * */ public class Smb2CloseRequest extends ServerMessageBlock2Request<Smb2CloseResponse> implements RequestWithFileId {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
when(fh.acquire()).thenReturn(fh); when(fh.isValid()).thenReturn(true); // Act SmbFileHandleImpl opened = handle.ensureOpen(); // Assert assertSame(fh, opened); assertTrue(handle.isOpen(), "Handle should report open after ensureOpen"); verify(pipe, times(1)).openUnshared(eq("\\\\pipe\\\\foo"), eq(0), anyInt(), anyInt(), eq(SmbConstants.ATTR_NORMAL), eq(0)); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 16.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbNamedPipe.java
* writes to, reads from, and closes the pipe in a single operation. * <li><code>TransactNamedPipe</code> A message-type pipe call that * writes to and reads from an existing pipe descriptor in one operation. * <li><code>CreateFile</code>, <code>ReadFile</code>, * <code>WriteFile</code>, and <code>CloseFile</code> A byte-type pipe can
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndXResponse.java
import jcifs.internal.smb1.AndXServerMessageBlock; import jcifs.internal.util.SMBUtil; import jcifs.util.Hexdump; /** * SMB1 NT Create AndX Response message. * * This response contains information about the created or opened file, * including file handle, attributes, and creation disposition. */ public class SmbComNTCreateAndXResponse extends AndXServerMessageBlock implements SmbBasicFileInfo {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java
// Assert: enumeration is empty and close produced no extra close call (no fileId opened) assertFalse(it.hasNext(), "Empty listing should produce no elements"); it.close(); // No close should be sent because directory was never successfully opened verify(tree, never()).send(argThat((Request<?> r) -> r instanceof Smb2CloseRequest)); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.7K bytes - Viewed (0)