Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for WitnessNotification (0.15 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  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;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 6.4K bytes
    - Click Count (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) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 42K bytes
    - Click Count (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());
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 5K bytes
    - Click Count (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);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 9.8K bytes
    - Click Count (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);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  6. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 10.7K bytes
    - Click Count (0)
Back to Top