Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for WitnessEventType (0.08 sec)

  1. src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java

            // 3. Event notifications
            mockService.sendNotification(WitnessEventType.RESOURCE_CHANGE, "\\\\cluster\\share");
            mockService.sendNotification(WitnessEventType.CLIENT_MOVE, "\\\\cluster\\share");
            mockService.sendNotification(WitnessEventType.NODE_AVAILABLE, "\\\\cluster\\share");
    
            // 4. Cleanup and unregistration
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  2. 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)
  3. src/main/java/jcifs/internal/witness/WitnessClient.java

            }
        }
    
        /**
         * Converts RPC message type to WitnessEventType.
         *
         * @param messageType the RPC message type
         * @return the corresponding WitnessEventType
         */
        private WitnessEventType convertMessageTypeToEventType(int messageType) {
            switch (messageType) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java

                // Default constructor
            }
    
            private WitnessEventType notificationType;
            private int length;
            private List<WitnessNotificationMessage> messages;
    
            /**
             * Gets the notification type.
             *
             * @return the witness event type for this notification
             */
            public WitnessEventType getNotificationType() {
                return notificationType;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  5. 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)
Back to top