Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for SmbNamedPipe (0.22 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java

     * is desired.
     *
     * <table border="1">
     * <caption>SmbNamedPipe Constructor Examples</caption>
     * <tr>
     * <td colspan="2"><b><code>SmbNamedPipe</code> Constructor Examples</b></td>
     * <tr><td ><b>Code Sample</b></td><td><b>Description</b></td></tr>
     * <tr><td ><pre>
     * new SmbNamedPipe( "smb1://server/IPC$/PIPE/foo",
     *         SmbNamedPipe.PIPE_TYPE_RDWR |
     *         SmbNamedPipe.PIPE_TYPE_CALL );
     * </pre></td><td>
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbNamedPipe.java

     *
     * <table border="1">
     * <caption>SmbNamedPipe Constructor Examples</caption>
     * <tr >
     * <td colspan="2"><b><code>SmbNamedPipe</code> Constructor Examples</b></td>
     * <tr>
     * <td ><b>Code Sample</b></td>
     * <td><b>Description</b></td>
     * </tr>
     * <tr>
     * <td >
     *
     * <pre>
     * new SmbNamedPipe("smb://server/IPC$/PIPE/foo", SmbNamedPipe.PIPE_TYPE_RDWR | SmbNamedPipe.PIPE_TYPE_CALL, context);
     * </pre>
     *
     * </td>
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbNamedPipeTest.java

            @ValueSource(strings = { "smb://server/IPC$/foo", "smb://server/IPC$/PIPE/foo" })
            void constructsWithIpcShare(String url) throws Exception {
                // Arrange & Act
                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");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/TransactNamedPipeOutputStream.java

        private final SmbNamedPipe pipe;
        private final byte[] tmp = new byte[1];
        private final boolean dcePipe;
    
        TransactNamedPipeOutputStream(final SmbNamedPipe pipe) throws IOException {
            super(pipe, false, pipe.pipeType & 0xFFFF00FF | SmbFile.O_EXCL);
            this.pipe = pipe;
            this.dcePipe = (pipe.pipeType & SmbNamedPipe.PIPE_TYPE_DCE_TRANSACT) == SmbNamedPipe.PIPE_TYPE_DCE_TRANSACT;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/context/CIFSContextWrapperTest.java

            int pipeType = 1;
            SmbPipeResource mockSmbPipeResource = mock(SmbNamedPipe.class);
    
            // Similar to testGetSmbResource, we cannot directly mock `new SmbNamedPipe()`.
            // We verify that no exception is thrown for a valid URL and that it attempts to create an SmbNamedPipe.
            assertNotNull(cifsContextWrapper.getPipe(url, pipeType));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java

            }
            if (params.length() > 0) {
                url += "?" + params.substring(1);
            }
    
            pipe = new SmbNamedPipe(url,
                    /* This 0x20000 bit is going to get chopped! */
                    0x2019F << 16 | SmbNamedPipe.PIPE_TYPE_RDWR | SmbNamedPipe.PIPE_TYPE_DCE_TRANSACT, auth);
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java

        private final boolean dcePipe;
    
        Object lock;
    
        TransactNamedPipeInputStream(final SmbNamedPipe pipe) throws SmbException, MalformedURLException, UnknownHostException {
            super(pipe, pipe.pipeType & 0xFFFF00FF | SmbFile.O_EXCL);
            this.dcePipe = (pipe.pipeType & SmbNamedPipe.PIPE_TYPE_DCE_TRANSACT) != SmbNamedPipe.PIPE_TYPE_DCE_TRANSACT;
            lock = new Object();
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java

     */
    
    package jcifs.dcerpc;
    
    import java.io.IOException;
    import java.net.MalformedURLException;
    
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.SmbPipeResource;
    import jcifs.smb.SmbNamedPipe;
    import jcifs.smb.SmbPipeHandleInternal;
    import jcifs.util.Encdec;
    
    /**
     * DCE/RPC handle implementation for named pipe communications.
     * This class provides DCE/RPC communication over SMB named pipes.
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/TransCallNamedPipeResponse.java

     */
    
    package jcifs.smb1.smb1;
    
    class TransCallNamedPipeResponse extends SmbComTransactionResponse {
    
        private final SmbNamedPipe pipe;
    
        TransCallNamedPipeResponse(final SmbNamedPipe pipe) {
            this.pipe = pipe;
        }
    
        @Override
        int writeSetupWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/TransPeekNamedPipeResponse.java

    class TransPeekNamedPipeResponse extends SmbComTransactionResponse {
    
        private final SmbNamedPipe pipe;
        static final int STATUS_DISCONNECTED = 1;
        static final int STATUS_LISTENING = 2;
        static final int STATUS_CONNECTION_OK = 3;
        static final int STATUS_SERVER_END_CLOSED = 4;
    
        int status, available;
    
        TransPeekNamedPipeResponse(final SmbNamedPipe pipe) {
            this.pipe = pipe;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.3K bytes
    - Viewed (0)
Back to top