- Sort Score
- Num 10 results
- Language All
Results 11 - 18 of 18 for SmbPipeResource (0.1 seconds)
-
src/main/java/jcifs/smb/SmbNamedPipe.java
*/ package jcifs.smb; import java.net.MalformedURLException; import jcifs.CIFSContext; import jcifs.SmbPipeHandle; import jcifs.SmbPipeResource; import jcifs.internal.smb1.com.SmbComNTCreateAndX; import jcifs.internal.smb1.com.SmbComNTCreateAndXResponse; /** * This class will allow a Java program to read and write data to Named
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/test/java/jcifs/smb/SmbPipeHandleImplTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.7K bytes - Click Count (0) -
src/main/java/jcifs/CIFSContext.java
* @param pipeType * the type of the pipe * @return the SMB pipe resource at the specified location * @throws CIFSException if the pipe resource cannot be accessed */ SmbPipeResource getPipe(String url, int pipeType) throws CIFSException; /** * Close all connections and release resources associated with this context * * @return whether any connection was still in useCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
} @Test @DisplayName("sendrecv uses TransactNamedPipe when PIPE_TYPE_TRANSACT is set") void sendrecv_transact_branch() throws Exception { // Arrange int type = SmbPipeResource.PIPE_TYPE_TRANSACT | SmbPipeResource.PIPE_TYPE_RDWR; SmbPipeHandleImpl handle = newHandleWithBasicStubs(type, "\\\\pipe\\\\t"); // Setup the tree handle properly when(pipe.ensureTreeConnected()).thenReturn(tree);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 16.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbNamedPipeTest.java
} @ParameterizedTest @DisplayName("getPipeType echoes constructor input (edge values)") @ValueSource(ints = { 0, SmbPipeResource.PIPE_TYPE_RDONLY, SmbPipeResource.PIPE_TYPE_WRONLY, SmbPipeResource.PIPE_TYPE_DCE_TRANSACT }) void getPipeTypeEchoesInput(int pipeType) throws Exception { // Arrange & ActCreated: 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/main/java/jcifs/smb/SmbPipeHandleImpl.java
*/ public SmbPipeHandleImpl(final SmbNamedPipe pipe) { this.pipe = pipe; this.transact = (pipe.getPipeType() & SmbPipeResource.PIPE_TYPE_TRANSACT) == SmbPipeResource.PIPE_TYPE_TRANSACT; this.call = (pipe.getPipeType() & SmbPipeResource.PIPE_TYPE_CALL) == SmbPipeResource.PIPE_TYPE_CALL; this.openFlags = pipe.getPipeType() & 0xFFFF00FF | SmbConstants.O_EXCL; this.access = pipe.getPipeType() & 7 | 0x20000;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 10.2K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java
*/ public class DcerpcPipeHandle extends DcerpcHandle { /* This 0x20000 bit is going to get chopped! */ final static int pipeFlags = 0x2019F << 16 | SmbPipeResource.PIPE_TYPE_RDWR | SmbPipeResource.PIPE_TYPE_DCE_TRANSACT; private final SmbNamedPipe pipe; private final SmbPipeHandleInternal handle; /** * Creates a DCERPC pipe handle for named pipe communicationCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.6K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
class PipeFlagsTests { @Test @DisplayName("Should have correct pipe flags constant") void testPipeFlags() { int expectedFlags = (0x2019F << 16) | SmbPipeResource.PIPE_TYPE_RDWR | SmbPipeResource.PIPE_TYPE_DCE_TRANSACT; assertEquals(expectedFlags, DcerpcPipeHandle.pipeFlags); } }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21K bytes - Click Count (0)