Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for SmbPipeHandle (0.08 sec)

  1. src/main/java/jcifs/SmbPipeHandle.java

     */
    package jcifs;
    
    import java.io.InputStream;
    import java.io.OutputStream;
    
    /**
     * Handle to an open named pipe
     *
     * @author mbechler
     *
     */
    public interface SmbPipeHandle extends AutoCloseable {
    
        /**
         * Gets the pipe resource associated with this handle.
         *
         * @return the pipe
         */
        SmbPipeResource getPipe();
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SmbPipeHandleTest.java

            // Create a mock implementation of the SmbPipeHandle interface
            smbPipeHandle = mock(SmbPipeHandle.class);
    
            // Define behavior for the mock handle
            when(smbPipeHandle.getPipe()).thenReturn(mockPipeResource);
            when(smbPipeHandle.getInput()).thenReturn(mockInputStream);
            when(smbPipeHandle.getOutput()).thenReturn(mockOutputStream);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbNamedPipeTest.java

            // Act
            SmbPipeHandle handle = pipe.openPipe();
    
            // Assert: observable handle behavior without network I/O
            assertNotNull(handle, "Handle must not be null");
            assertSame(pipe, handle.getPipe(), "Handle should reference originating pipe");
            assertSame(handle, handle.unwrap(SmbPipeHandle.class), "unwrap should return same instance for interface type");
        }
    
    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/smb/SmbPipeHandleInternal.java

     */
    package jcifs.smb;
    
    import java.io.IOException;
    
    import jcifs.CIFSException;
    import jcifs.SmbFileHandle;
    import jcifs.SmbPipeHandle;
    
    /**
     * Internal interface for SMB pipe handle operations.
     *
     * This interface extends SmbPipeHandle with additional methods needed
     * for internal pipe management and provides access to low-level pipe details.
     *
     * @author mbechler
     *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbNamedPipe.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    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)
  6. src/main/java/jcifs/SmbPipeResource.java

         *
         * @return the type of the pipe
         */
        int getPipeType();
    
        /**
         * Create a pipe handle
         *
         * @return pipe handle, needs to be closed when finished
         */
        SmbPipeHandle openPipe();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
Back to top