- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 21 for TYPE_NAMED_PIPE (0.08 seconds)
-
src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java
*/ public SmbNamedPipe(final String url, final int pipeType) throws MalformedURLException, UnknownHostException { super(url); this.pipeType = pipeType; type = TYPE_NAMED_PIPE; } /** * Constructs an SmbNamedPipe for a specified pipe on an SMB server. * * @param url the SMB URL of the named pipe * @param pipeType the type of the pipeCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbNamedPipeTest.java
SmbNamedPipe pipe = new SmbNamedPipe(url, SmbPipeResource.PIPE_TYPE_RDWR, ctx()); // Assert: type is named pipe and pipe type preserved assertEquals(SmbConstants.TYPE_NAMED_PIPE, pipe.getType(), "Type should be TYPE_NAMED_PIPE"); assertEquals(SmbPipeResource.PIPE_TYPE_RDWR, pipe.getPipeType(), "Pipe type should match constructor"); } @ParameterizedTest
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbShareInfoTest.java
assertEquals(SmbFile.TYPE_PRINTER, printerShare.getType()); // Test for TYPE_NAMED_PIPE SmbShareInfo pipeShare = new SmbShareInfo("PIPE", 3, "A named pipe"); assertEquals(SmbFile.TYPE_NAMED_PIPE, pipeShare.getType()); // Test for TYPE_SHARE (disk share) SmbShareInfo diskShare = new SmbShareInfo("DISK", 0, "A disk share");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java
printerShare.netname = "PrinterShare"; printerShare.type = 1; printerShare.remark = "Printer share"; // Type 3 (named pipe) -> TYPE_NAMED_PIPE (16) srvsvc.ShareInfo1 pipeShare = new srvsvc.ShareInfo1(); pipeShare.netname = "PipeShare"; pipeShare.type = 3; pipeShare.remark = "Named pipe";
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.1K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbNamedPipe.java
setNonPooled(unshared); if (!getLocator().isIPC()) { throw new MalformedURLException("Named pipes are only valid on IPC$"); } this.fileLocator.updateType(TYPE_NAMED_PIPE); } /** * Open the Named Pipe resource specified by the url * parameter. The pipeType parameter should be at least one of * the <code>PIPE_TYPE</code> flags combined with the bitwise OR
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.2K bytes - Click Count (0) -
src/main/java/jcifs/SmbResourceLocator.java
*/ boolean isIPC(); /** * Returns type of of object this <code>SmbFile</code> represents. * * @return <code>TYPE_FILESYSTEM, TYPE_WORKGROUP, TYPE_SERVER, * TYPE_NAMED_PIPE</code>, or <code>TYPE_SHARE</code> in which case it may be either <code>TYPE_SHARE</code>, * <code>TYPE_PRINTER</code> or <code>TYPE_COMM</code>. * @throws CIFSException if the type cannot be determinedCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
*/ public static final int TYPE_SHARE = 0x08; /** * Returned by {@link #getType()} if the resource this {@code SmbFile} * represents is a named pipe. */ public static final int TYPE_NAMED_PIPE = 0x10; /** * Returned by {@link #getType()} if the resource this {@code SmbFile} * represents is a printer. */ public static final int TYPE_PRINTER = 0x20; /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 112.2K bytes - Click Count (0) -
src/main/java/jcifs/SmbConstants.java
*/ int TYPE_SHARE = 0x08; /** * Returned by {@link jcifs.SmbResource#getType()} if the resource this <code>SmbFile</code> * represents is a named pipe. */ int TYPE_NAMED_PIPE = 0x10; /** * Returned by {@link jcifs.SmbResource#getType()} if the resource this <code>SmbFile</code> * represents is a printer. */ int TYPE_PRINTER = 0x20; /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:49:49 GMT 2025 - 12.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
this.access = access; this.sharing = sharing; try (SmbTreeHandleInternal th = file.ensureTreeConnected()) { this.smb2 = th.isSMB2(); if (file.getType() != SmbConstants.TYPE_NAMED_PIPE) { try (SmbFileHandle h = ensureOpen()) {} this.openFlags &= ~(SmbConstants.O_CREAT | SmbConstants.O_TRUNC); } init(th);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFile.java
public boolean canRead() throws SmbException { if (getType() == TYPE_NAMED_PIPE) { // try opening the pipe for reading? return true; } return exists(); // try opening and catch sharing violation? } @Override public boolean canWrite() throws SmbException { if (getType() == TYPE_NAMED_PIPE) { // try opening the pipe for writing? return true; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 103.2K bytes - Click Count (0)