- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for getRemoteAddress (0.09 sec)
-
src/test/java/jcifs/SmbTransportTest.java
// Arrange when(smbTransport.getRemoteAddress()).thenReturn(remoteAddress); // Act Address result = smbTransport.getRemoteAddress(); // Assert assertNotNull(result, "Remote address should not be null"); assertEquals(remoteAddress, result, "Returned remote address should be the mocked address"); verify(smbTransport).getRemoteAddress(); // Verify that the method was called }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaTransport.java
} try { rdmaConnection = rdmaProvider.connect(delegate.getRemoteAddress().getHostAddress(), delegate.getContext().getConfig().getRdmaPort()); log.info("RDMA connection established to {}", delegate.getRemoteAddress()); } catch (IOException e) { log.warn("Failed to establish RDMA connection: {}", e.getMessage());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 8.9K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProviderTest.java
RdmaConnection connection = provider.createConnection(remote, local); assertNotNull(connection, "Connection should not be null"); assertEquals(remote, connection.getRemoteAddress(), "Remote address should match"); } @Test public void testRegisterMemory() throws Exception { ByteBuffer buffer = ByteBuffer.allocateDirect(1024);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 4.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaConnection.java
public RdmaConnectionState getState() { return state; } /** * Get remote address * * @return remote socket address */ public InetSocketAddress getRemoteAddress() { return remoteAddress; } /** * Get local address * * @return local socket address */ public InetSocketAddress getLocalAddress() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 8.2K bytes - Viewed (0)