- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 18 for SmbPipeResource (0.1 seconds)
-
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. */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2K bytes - Click Count (0) -
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}.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
src/test/java/jcifs/context/BaseContextTest.java
assertNotNull(resource, "Should create resource for URL: " + url); } } @Test @DisplayName("getPipe method should create SmbPipeResource") void testGetPipeResource() throws CIFSException { // When SmbPipeResource pipe = context.getPipe("smb://server/IPC$/pipe", 0); // Then assertNotNull(pipe, "Should create pipe resource");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 15.1K bytes - Click Count (0) -
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);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.8K bytes - Click Count (0) -
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() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2K bytes - Click Count (0) -
src/test/java/jcifs/context/CIFSContextWrapperTest.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; class CIFSContextWrapperTest {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.7K bytes - Click Count (0) -
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; /**
Created: 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/main/java/jcifs/SmbPipeHandle.java
* * @author mbechler * */ public interface SmbPipeHandle extends AutoCloseable { /** * Gets the pipe resource associated with this handle. * * @return the pipe */ SmbPipeResource getPipe(); /** * Gets the input stream for reading from this pipe. * * @return this pipe's input stream * @throws CIFSException if an error occurs getting the input stream */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.4K bytes - Click Count (0) -
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;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.5K bytes - Click Count (0) -
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; @MockCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0)