- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for getRemoteAddress (0.48 seconds)
-
src/test/java/jcifs/smb/SmbTransportImplTest.java
} @Test @DisplayName("Basic getters: address, hostName, inflight, sessions") void basicGetters() { assertEquals(address, transport.getRemoteAddress()); assertNull(transport.getRemoteHostName(), "tconHostName starts null"); assertEquals(0, transport.getInflightRequests()); assertEquals(0, transport.getNumSessions()); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/MultiChannelManager.java
public String getChannelId() { return channelId; } public InetAddress getLocalAddress() { return localAddress; } public InetAddress getRemoteAddress() { return remoteAddress; } public NetworkInterface getNetworkInterface() { return networkInterface; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 20.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java
try (RdmaConnection connection = provider.createConnection(address, null)) { assertNotNull(connection, "Connection should not be null"); assertEquals(address, connection.getRemoteAddress(), "Remote address should match"); assertNotNull(connection.getState(), "Connection state should not be null"); System.out.println("RDMA connection created to: " + address);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 13.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbEnumerationUtil.java
SmbSessionImpl session = th.getSession(); SmbTransportImpl transport = session.getTransport()) { try { entries = doMsrpcShareEnum(tc, locator, transport.getRemoteAddress()); } catch (final IOException ioe) { if (th.isSMB2()) { throw ioe; } log.debug("doMsrpcShareEnum failed", ioe);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.3K bytes - Click Count (0) -
docs/smb3-features/06-witness-protocol-design.md
log.warn("Failed to initialize witness support", e); } } private InetAddress discoverWitnessService() throws IOException { // Try the same server first InetAddress serverAddress = transport.getRemoteAddress(); if (isWitnessServiceAvailable(serverAddress)) { return serverAddress; } // Query for cluster witness service via DNS try {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 42K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
return transportStr.substring(startBracket + 1, endBracket); } // Fallback: just use address return transport.getRemoteAddress().getHostAddress(); } /** * Get connection key from address and port */ private String getConnectionKey(Address address, int port) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 33.4K bytes - Click Count (0)