- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for CLIENT_MOVE (0.16 sec)
-
src/test/java/jcifs/internal/witness/WitnessEnumTest.java
assertEquals("VERSION_2", WitnessVersion.VERSION_2.toString()); assertEquals("RESOURCE_CHANGE", WitnessEventType.RESOURCE_CHANGE.toString()); assertEquals("CLIENT_MOVE", WitnessEventType.CLIENT_MOVE.toString()); assertEquals("SHARE_MOVE", WitnessEventType.SHARE_MOVE.toString()); assertEquals("IP_CHANGE", WitnessEventType.IP_CHANGE.toString());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessNotificationTest.java
private WitnessNotification notification; @BeforeEach void setUp() { notification = new WitnessNotification(WitnessEventType.CLIENT_MOVE, "TestResource"); } @Test void testNotificationCreation() { assertEquals(WitnessEventType.CLIENT_MOVE, notification.getEventType()); assertEquals("TestResource", notification.getResourceName());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 5K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java
String regId = mockService.registerWitness("TestResource", "192.168.1.100", 1); // Send notification affecting the registration mockService.sendNotification(WitnessEventType.CLIENT_MOVE, "TestResource"); // Clean up mockService.unregisterWitness(regId); } @Test void testMockServiceHeartbeat() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessClientTest.java
// Create and process a notification WitnessNotification notification = new WitnessNotification(WitnessEventType.CLIENT_MOVE, "\\\\server\\share"); notification.addNewIPAddress(InetAddress.getByName("192.168.1.101")); client.processNotification(notification); // Verify notification was delivered
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 9.8K bytes - Viewed (0) -
docs/smb3-features/06-witness-protocol-design.md
@Test public void testWitnessNotification() { WitnessNotification notification = new WitnessNotification( WitnessEventType.CLIENT_MOVE, "TestResource"); notification.addNewIPAddress(InetAddress.getByName("192.168.1.101")); assertEquals(WitnessEventType.CLIENT_MOVE, notification.getEventType()); assertEquals("TestResource", notification.getResourceName());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 42K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessEventType.java
/** * Resource state changed - general resource state modification */ RESOURCE_CHANGE(1), /** * Client should move to different node - directed failover */ CLIENT_MOVE(2), /** * Share moved to different node - share mobility event */ SHARE_MOVE(3), /** * IP address changed - network configuration change */ IP_CHANGE(4),
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessClient.java
return WitnessEventType.RESOURCE_CHANGE; case WitnessAsyncNotifyMessage.WitnessNotificationMessage.WITNESS_CLIENT_MOVE: return WitnessEventType.CLIENT_MOVE; case WitnessAsyncNotifyMessage.WitnessNotificationMessage.WITNESS_SHARE_MOVE: return WitnessEventType.SHARE_MOVE; case WitnessAsyncNotifyMessage.WitnessNotificationMessage.WITNESS_IP_CHANGE:
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
switch (notification.getEventType()) { case RESOURCE_CHANGE: handleResourceChange(notification); break; case CLIENT_MOVE: handleClientMove(notification); break; case SHARE_MOVE: handleShareMove(notification); break; case IP_CHANGE:
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 68.9K bytes - Viewed (0)