- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 178 for reconnection (3.93 sec)
-
src/test/java/jcifs/util/transport/ConnectionTimeoutExceptionTest.java
assertNull(exception.getCause(), "Cause should be null for no-arg constructor"); } @Test void testStringConstructor() { // Test the constructor with a message String message = "Connection timed out."; ConnectionTimeoutException exception = new ConnectionTimeoutException(message); assertEquals(message, exception.getMessage(), "Message should match the provided string");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2K bytes - Viewed (0) -
src/main/java/jcifs/SmbTreeHandle.java
/** * Checks if this tree handle uses SMB2 or later protocol * @return whether this tree handle uses SMB2+ */ boolean isSMB2(); /** * Gets the remote host name for this tree connection * @return the remote host name */ String getRemoteHostName(); /** * Gets the tree type (share type such as disk, printer, pipe, etc.) * @return the tree type */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.6K bytes - Viewed (0) -
src/test/java/jcifs/SmbTransportPoolTest.java
import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; /** * Comprehensive test suite for SmbTransportPool interface. * Tests all transport pool operations including connection management, * authentication, and lifecycle operations. */ @ExtendWith(MockitoExtension.class) @DisplayName("SmbTransportPool Tests") class SmbTransportPoolTest { @MockRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2EchoResponse.java
import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.util.SMBUtil; /** * SMB2 Echo response message. * * This response confirms that the server is still active * and the connection is working properly. * * @author mbechler */ public class Smb2EchoResponse extends ServerMessageBlock2Response { /** * Constructs an SMB2 echo response * @param config the client configurationRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
// Mock transport.connect() to succeed doNothing().when(transport).connect(); // Simulate failed tree connect doThrow(new SmbException("Connection failed")).when(session).send(any(ServerMessageBlock.class), any(ServerMessageBlock.class)); assertThrows(SmbException.class, () -> tree.treeConnect(null, null));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.2K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcConstants.java
int RPC_PT_CANCEL = 0x12; /** * Acknowledgment packet type */ int RPC_PT_ACK = 0x13; /** * Reject packet type */ int RPC_PT_REJECT = 0x14; /** * Connection-oriented cancel packet type */ int RPC_PT_CO_CANCEL = 0x15; /** * Orphaned packet type */ int RPC_PT_ORPHANED = 0x16; // RPC_C_PF_ flags (packet flags) /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponse.java
/** * Named pipe status indicating the pipe is listening for connections. */ public static final int STATUS_LISTENING = 2; /** * Named pipe status indicating the connection is established and operational. */ public static final int STATUS_CONNECTION_OK = 3; /** * Named pipe status indicating the server end of the pipe is closed. */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcBind.java
*/ package jcifs.smb1.dcerpc; import jcifs.smb1.dcerpc.ndr.NdrBuffer; import jcifs.smb1.dcerpc.ndr.NdrException; /** * DCERPC Bind message for establishing a connection context. * This class handles the binding of DCERPC interfaces for RPC communication. */ public class DcerpcBind extends DcerpcMessage {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
// Log circuit breaker rejection auditLogger.logSecurityViolation("Circuit breaker open for SMB connection", java.util.Map.of("address", address.getHostAddress(), "port", String.valueOf(port))); throw new IOException("Connection rejected by circuit breaker: " + e.getMessage(), e); } catch (RuntimeException e) { // Unwrap IOException from RuntimeExceptionRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 69.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2EchoRequest.java
import jcifs.CIFSContext; import jcifs.Configuration; import jcifs.internal.util.SMBUtil; /** * SMB2 Echo request message. * * This command is used to test connectivity and ensure the * SMB2 connection is still active. * * @author mbechler */ public class Smb2EchoRequest extends ServerMessageBlock2Request<Smb2EchoResponse> { /** * Constructs an SMB2 echo request
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0)