- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for getNotifyInformation (0.12 sec)
-
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
NotifyResponse resp = mock(NotifyResponse.class); when(resp.isReceived()).thenReturn(true); when(resp.getErrorCode()).thenReturn(0); when(resp.getNotifyInformation()).thenReturn(info); setupSmb2(resp, new byte[16]); SmbWatchHandleImpl sut = new SmbWatchHandleImpl(handle, 0x1234, true); List<FileNotifyInformation> result = sut.watch();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java
@Test @DisplayName("Test constructor creates instance with empty notification list") void testConstructor() { assertNotNull(response); assertNotNull(response.getNotifyInformation()); assertTrue(response.getNotifyInformation().isEmpty()); } @Test @DisplayName("Test writeSetupWireFormat returns 0") void testWriteSetupWireFormat() { byte[] buffer = new byte[100];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/NotifyResponseTest.java
// Verify each response maintains its own notifications assertEquals(1, response1.getNotifyInformation().size()); assertEquals(mockNotifyInfo1, response1.getNotifyInformation().get(0)); assertEquals(1, response2.getNotifyInformation().size()); assertEquals(mockNotifyInfo2, response2.getNotifyInformation().get(0)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
assertTrue(resp instanceof ServerMessageBlock2); assertTrue(resp instanceof NotifyResponse); assertNotNull(resp.getNotifyInformation()); assertEquals(0, resp.getNotifyInformation().size()); } @Test @DisplayName("Should write empty bytes to wire format") void testWriteBytesWireFormat() { // Given byte[] buffer = new byte[256];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponse.java
} return bufferIndex - start; } /** * {@inheritDoc} * * @see jcifs.internal.NotifyResponse#getNotifyInformation() */ @Override public List<FileNotifyInformation> getNotifyInformation() { return this.notifyInformation; } /** * {@inheritDoc} *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbWatchHandleImpl.java
if (resp.getErrorCode() == 0x10B) { this.handle.markClosed(); } if (resp.getErrorCode() == 0x10C) { resp.getNotifyInformation().clear(); } return resp.getNotifyInformation(); } } /** * {@inheritDoc} * * @see jcifs.SmbWatchHandle#call() */ @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponse.java
super(config); } /** * @return the notifyInformation */ @Override public final List<FileNotifyInformation> getNotifyInformation() { return this.notifyInformation; } @Override protected int writeSetupWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/NotifyResponse.java
/** * Gets the file notification information from the response. * @return notify information containing file change notifications */ List<FileNotifyInformation> getNotifyInformation();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.4K bytes - Viewed (0)