Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for SmbPipeResource (0.07 sec)

  1. src/main/java/jcifs/SmbPipeResource.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs;
    
    /**
     * SMB resource respresenting a named pipe
     *
     * @author mbechler
     *
     */
    public interface SmbPipeResource extends SmbResource {
    
        /**
         * The pipe should be opened read-only.
         */
    
        int PIPE_TYPE_RDONLY = SmbConstants.O_RDONLY;
    
        /**
         * The pipe should be opened only for writing.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. 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 & Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SmbPipeResourceTest.java

    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the SmbPipeResource interface.
     * This test class primarily verifies the constant values defined in the interface.
     */
    class SmbPipeResourceTest {
    
        /**
         * Test if the PIPE_TYPE_RDONLY constant has the correct value.
         */
        @Test
        void testPipeTypeRdonly() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2K bytes
    - Viewed (0)
  4. 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 communication
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SmbPipeHandleTest.java

        private SmbPipeHandle smbPipeHandle;
        private SmbPipeResource mockPipeResource;
        private SmbPipeHandleInternal mockSmbPipeHandleInternal;
        private InputStream mockInputStream;
        private OutputStream mockOutputStream;
    
        /**
         * Sets up the test environment before each test.
         * Initializes a mock {@link SmbPipeResource} and a mock implementation of {@link SmbPipeHandle}.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/CIFSContextTest.java

        }
    
        @Test
        @DisplayName("Should get SmbPipeResource")
        void testGetPipe() throws CIFSException {
            // Given
            String url = "smb://server/share/pipe";
            int pipeType = 1;
            SmbPipeResource mockPipe = mock(SmbPipeResource.class);
            when(mockContext.getPipe(url, pipeType)).thenReturn(mockPipe);
    
            // When
            SmbPipeResource pipe = mockContext.getPipe(url, pipeType);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  7. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/context/CIFSContextWrapper.java

    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.Configuration;
    import jcifs.Credentials;
    import jcifs.DfsResolver;
    import jcifs.NameServiceClient;
    import jcifs.SidResolver;
    import jcifs.SmbPipeResource;
    import jcifs.SmbResource;
    import jcifs.SmbTransportPool;
    import jcifs.smb.Handler;
    import jcifs.smb.SmbFile;
    import jcifs.smb.SmbNamedPipe;
    
    /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/context/BaseContext.java

    import jcifs.BufferCache;
    import jcifs.CIFSException;
    import jcifs.Configuration;
    import jcifs.Credentials;
    import jcifs.DfsResolver;
    import jcifs.NameServiceClient;
    import jcifs.SidResolver;
    import jcifs.SmbPipeResource;
    import jcifs.SmbResource;
    import jcifs.SmbTransportPool;
    import jcifs.netbios.NameServiceClientImpl;
    import jcifs.smb.BufferCacheImpl;
    import jcifs.smb.CredentialsInternal;
    import jcifs.smb.DfsImpl;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/context/AbstractCIFSContextTest.java

    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.Configuration;
    import jcifs.Credentials;
    import jcifs.DfsResolver;
    import jcifs.NameServiceClient;
    import jcifs.SidResolver;
    import jcifs.SmbPipeResource;
    import jcifs.SmbResource;
    import jcifs.SmbTransportPool;
    import jcifs.smb.NtlmPasswordAuthenticator;
    
    class AbstractCIFSContextTest {
    
        private TestAbstractCIFSContext context;
    
        @Mock
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top