Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for WitnessNotification (1.17 sec)

  1. src/main/java/jcifs/internal/witness/WitnessNotification.java

    import java.util.ArrayList;
    import java.util.List;
    
    /**
     * Represents a witness notification received from the witness service.
     * Contains event information, resource details, and IP address changes.
     */
    public class WitnessNotification {
        private WitnessEventType eventType;
        private long timestamp;
        private String resourceName;
        private final List<WitnessIPAddress> newIPAddresses;
        private final List<WitnessIPAddress> oldIPAddresses;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  2. docs/smb3-features/06-witness-protocol-design.md

        }
    }
    
    private void handleResourceChange(WitnessNotification notification) {
        // Resource state changed - may need to reconnect
        log.info("Resource change detected for: {}", notification.getResourceName());
        
        // Schedule reconnection attempt
        scheduleReconnection(1000);  // 1 second delay
    }
    
    private void handleClientMove(WitnessNotification notification) {
    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/test/java/jcifs/internal/witness/WitnessNotificationTest.java

            WitnessNotification.WitnessIPAddress addr4 = new WitnessNotification.WitnessIPAddress(ipv4);
            WitnessNotification.WitnessIPAddress addr6 = new WitnessNotification.WitnessIPAddress(ipv6);
    
            // IPv4 tests
            assertTrue(addr4.isIPv4());
            assertFalse(addr4.isIPv6());
            assertEquals(WitnessNotification.WitnessIPAddress.IPV4, addr4.getFlags());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/witness/WitnessClientTest.java

                    client.registerForNotifications("\\\\server\\share", serverAddress, listener).get(5, TimeUnit.SECONDS);
    
            // 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);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/witness/WitnessClient.java

            try {
                // Convert RPC message to WitnessNotification
                WitnessNotification notification = new WitnessNotification();
    
                // Set event type based on message type
                WitnessEventType eventType = convertMessageTypeToEventType(message.getType());
                notification.setEventType(eventType);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbSessionImpl.java

        }
    
        /**
         * Handle client move events
         */
        private void handleClientMove(WitnessNotification notification) {
            // Server is asking client to move to different node
            log.info("Client move requested for resource: {}", notification.getResourceName());
    
            List<WitnessNotification.WitnessIPAddress> newAddresses = notification.getNewIPAddresses();
            if (!newAddresses.isEmpty()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  7. docs/SMB3_IMPLEMENTATION_PLAN.md

    #### 6.1 Core Witness Infrastructure
    ```
    Package: jcifs.internal.witness
    ├── WitnessClient.java           - Witness client implementation
    ├── WitnessRegistration.java     - Client registration with witness
    ├── WitnessNotification.java     - Notification handling
    ├── ResourceChange.java          - Resource change events
    └── WitnessTransport.java       - Witness-specific RPC transport
    ```
    
    #### 6.2 Implementation Tasks
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 10.7K bytes
    - Viewed (0)
Back to top