- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for WitnessEventType (0.08 seconds)
-
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) {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) -
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; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 16.4K bytes - Click Count (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());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 42K bytes - Click Count (0) -
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 unregistrationCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 9.8K bytes - Click Count (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 deliveredCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 9.8K bytes - Click Count (0)