- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 112 for connect0 (0.05 sec)
-
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/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/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/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/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) -
docs/smb3-features/03-multi-channel-design.md
ChannelInfo channel = new ChannelInfo(channelId, transport, localIf, remoteIf); // Establish connection channel.setState(ChannelState.CONNECTING); transport.connect(); // Perform channel binding performChannelBinding(channel); // Add to active channels channels.put(channelId, channel);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 39.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileHandleImplTest.java
Configuration cfg; @Mock SmbTreeHandleImpl tree; private void stubValidTree(long treeId, boolean connected, boolean smb2) { lenient().when(tree.acquire()).thenReturn(tree); lenient().when(tree.getTreeId()).thenReturn(treeId); lenient().when(tree.isConnected()).thenReturn(connected); lenient().when(tree.isSMB2()).thenReturn(smb2); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java
passwordLength = writeString(session.auth.password, password, 0); } } else { // no password in tree connect passwordLength = 1; } dst[dstIndex] = disconnectTid ? (byte) 0x01 : (byte) 0x00; dstIndex++; dst[dstIndex++] = (byte) 0x00;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 6.6K bytes - Viewed (0)