- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for getRemoteInterface (0.07 sec)
-
src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java
// If createTransport returns null (no mock setup), remove immediately try { SmbTransport testTransport = manager.createTransport(failedChannel.getLocalInterface(), failedChannel.getRemoteInterface()); if (testTransport == null) { // No recovery possible, remove synchronously removeChannel(failedChannel); return; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 11.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java
return localInterface; } /** * Get remote network interface * * @return remote interface info */ public NetworkInterfaceInfo getRemoteInterface() { return remoteInterface; } /** * Get current channel state * * @return channel state */ public ChannelState getState() { return state;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 10.6K bytes - Viewed (0) -
docs/smb3-features/03-multi-channel-design.md
try { baos.write(session.getSessionKey()); baos.write(channel.getLocalInterface().getAddress().getAddress()); baos.write(channel.getRemoteInterface().getAddress().getAddress()); baos.write(ByteBuffer.allocate(8).putLong(System.currentTimeMillis()).array()); } catch (IOException e) { // Should not happen with ByteArrayOutputStream
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 39.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java
// Wait a bit for recovery attempt Thread.sleep(100); verify(mockChannelManager).createTransport(failedChannel.getLocalInterface(), failedChannel.getRemoteInterface()); } @Test void testMultipleFailuresExceedRetryLimit() { IOException error = new IOException("Connection failed"); // Simulate multiple failures
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java
assertEquals(mockTransport, channelInfo.getTransport()); assertEquals(localInterface, channelInfo.getLocalInterface()); assertEquals(remoteInterface, channelInfo.getRemoteInterface()); assertEquals(ChannelState.DISCONNECTED, channelInfo.getState()); assertFalse(channelInfo.isPrimary()); assertEquals(0, channelInfo.getBytesSent());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancer.java
ChannelInfo maxBandwidthChannel = null; int maxBandwidth = 0; for (ChannelInfo channel : channels) { int linkSpeed = channel.getRemoteInterface().getLinkSpeed(); if (linkSpeed > maxBandwidth) { maxBandwidth = linkSpeed; maxBandwidthChannel = channel; } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java
assertEquals("test-channel", channel.getChannelId()); assertEquals(mockTransport, channel.getTransport()); assertEquals(localNic, channel.getLocalInterface()); assertEquals(remoteNic, channel.getRemoteInterface()); assertEquals(ChannelState.ESTABLISHED, channel.getState()); assertTrue(channel.isHealthy()); // Test metrics channel.incrementRequestsSent();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 8.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java
if (sessionKey != null) { baos.write(sessionKey); } baos.write(channel.getLocalInterface().getAddress().getAddress()); baos.write(channel.getRemoteInterface().getAddress().getAddress()); baos.write(ByteBuffer.allocate(8).putLong(System.currentTimeMillis()).array()); } catch (IOException e) { // Should not happen with ByteArrayOutputStream
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 20K bytes - Viewed (0)