- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 116 for connect0 (1.05 sec)
-
src/test/java/jcifs/smb/SmbSessionImplTest.java
assertThrows(SmbException.class, session::treeConnectLogon); verify(session, never()).getSmbTree(anyString(), isNull()); } @Test @DisplayName("treeConnectLogon: valid share connects via tree") void testTreeConnectLogonValid() throws Exception { SmbSessionImpl session = spy(newSession()); when(configuration.getLogonShare()).thenReturn("LOGON$");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/jcifs/SmbTransport.java
*/ @Override void close(); /** * Gets the address of the remote SMB server. * * @return the connected address */ Address getRemoteAddress(); /** * Gets the host name of the remote SMB server. * * @return the connected host name */ String getRemoteHostName();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.8K bytes - Viewed (0) -
src/test/java/jcifs/SmbTreeHandleTest.java
/** * Test for getConnectedShare() method. * Verifies that the method returns the correct connected share name. */ @Test void testGetConnectedShare() { when(smbTreeHandle.getConnectedShare()).thenReturn("TEST_SHARE"); assertEquals("TEST_SHARE", smbTreeHandle.getConnectedShare(), "Connected share should be TEST_SHARE"); } /** * Test for isSameTree() method.Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionInternalTest.java
} // Happy path: connect to logon share completes without exception @Test @DisplayName("treeConnectLogon performs call without exception") void treeConnectLogon_happy() throws SmbException { // doNothing by default session.treeConnectLogon(); verify(session, times(1)).treeConnectLogon(); } // Error propagation: connect to logon share throws SmbException @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionInternal.java
*/ SmbTransport getTransport(); /** * Connect to the logon share * * @throws SmbException if the connection fails */ void treeConnectLogon() throws SmbException; /** * Gets or creates an SMB tree connection for the specified share and service. * * @param share the share name to connect to * @param service the service type for the connectionRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeInternal.java
* * @author mbechler * * <p>This interface is intended for internal use.</p> */ public interface SmbTreeInternal extends SmbTree { /** * Connects and performs logon to the tree using the specified context * @param tf the CIFS context to use for connection * @throws SmbException if an SMB error occurs during connection */ @DeprecatedRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProvider.java
return new TcpRdmaConnection(remote, local); } @Override public RdmaConnection connect(String hostname, int port) throws IOException { InetSocketAddress remoteAddress = new InetSocketAddress(hostname, port); RdmaConnection connection = createConnection(remoteAddress, null); connection.connect(); return connection; } @Override
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 2.9K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/IOIntegrationTest.java
class MockCurlRequest extends CurlRequest { MockCurlRequest(Curl.Method method, String url) { super(method, url); } @Override public void connect(Consumer<HttpURLConnection> actionListener, Consumer<Exception> exceptionListener) { try { actionListener.accept(new MockHttpURLConnection(new URL(url))); } catch (MalformedURLException e) {Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Sat May 10 01:44:04 UTC 2025 - 3.4K bytes - Viewed (0) -
docs/smb3-features/06-witness-protocol-design.md
context ); // Bind to witness interface handle.bind(); } catch (Exception e) { throw new IOException("Failed to connect to witness service", e); } } public WitnessRegisterResponse register(WitnessRegisterRequest request) throws IOException { try {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 42K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/MsrpcLsarOpenPolicy2.java
*/ public class MsrpcLsarOpenPolicy2 extends lsarpc.LsarOpenPolicy2 { /** * Creates a new request to open an LSA policy handle. * * @param server the server name to connect to * @param access the desired access rights * @param policyHandle the policy handle to be populated */ public MsrpcLsarOpenPolicy2(final String server, final int access, final LsaPolicyHandle policyHandle) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2K bytes - Viewed (0)