- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 51 for CommonServerMessageBlockRequest (0.59 sec)
-
src/main/java/jcifs/internal/CommonServerMessageBlockRequest.java
/** * * @return next chained message */ @Override CommonServerMessageBlockRequest getNext(); /** * Splits this request for processing. * * @return the following message */ CommonServerMessageBlockRequest split(); /** * Gets the size of this message. * * @return the size of this message */ int size(); /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java
/** * {@inheritDoc} * * @see jcifs.internal.CommonServerMessageBlockRequest#isResponseAsync() */ @Override public boolean isResponseAsync() { return getAsyncId() != 0; } /** * {@inheritDoc} * * @see jcifs.internal.CommonServerMessageBlockRequest#allowChain(jcifs.internal.CommonServerMessageBlockRequest) */ @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Mon Aug 25 14:34:10 UTC 2025 - 7.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java
/** * Test class for CommonServerMessageBlockRequest interface */ @ExtendWith(MockitoExtension.class) class CommonServerMessageBlockRequestTest { @Mock private CommonServerMessageBlockRequest request; @Mock private CommonServerMessageBlockRequest nextRequest; @Mock private CommonServerMessageBlockRequest splitRequest; @Mock
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2CancelRequest.java
* {@inheritDoc} * * @see jcifs.internal.CommonServerMessageBlockRequest#allowChain(jcifs.internal.CommonServerMessageBlockRequest) */ @Override public boolean allowChain(final CommonServerMessageBlockRequest next) { return false; } /** * {@inheritDoc} * * @see jcifs.internal.CommonServerMessageBlockRequest#split() */ @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
List<FileNotifyInformation> result = sut.watch(); assertSame(info, result, "Should return response notify information"); ArgumentCaptor<CommonServerMessageBlockRequest> reqCap = ArgumentCaptor.forClass(CommonServerMessageBlockRequest.class); verify(tree).send(reqCap.capture(), any(), any(), any()); assertTrue(reqCap.getValue() instanceof Smb2ChangeNotifyRequest, "SMB2 request must be used");
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/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java
super(config); } /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2Response#prepare(jcifs.internal.CommonServerMessageBlockRequest) */ @Override public void prepare(final CommonServerMessageBlockRequest next) { if (isReceived()) { ((ServerMessageBlock2) next).setTreeId(getTreeId()); } super.prepare(next); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/RequestTest.java
@Test @DisplayName("Test Request interface extends CommonServerMessageBlockRequest") void testRequestExtendsCommonServerMessageBlockRequest() { // Then assertTrue(CommonServerMessageBlockRequest.class.isAssignableFrom(Request.class)); } @Test @DisplayName("Test Request methods inherited from CommonServerMessageBlockRequest") void testInheritedMethods() { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
throws CIFSException { return send((CommonServerMessageBlockRequest) request, request.getResponse(), params != null && params.length > 0 ? EnumSet.copyOf(Arrays.asList(params)) : EnumSet.noneOf(RequestParam.class)); } <T extends CommonServerMessageBlockResponse> T send(final CommonServerMessageBlockRequest request, final T response) throws CIFSException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java
@DisplayName("Test allowChain returns false") void testAllowChain() { // Given Smb2CancelRequest request = new Smb2CancelRequest(mockConfig, 1L, 0L); CommonServerMessageBlockRequest nextRequest = mock(CommonServerMessageBlockRequest.class); // When boolean allowChain = request.allowChain(nextRequest); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
when(treeConnection.send(eq(resourceLoc), any(CommonServerMessageBlockRequest.class), isNull(), any(RequestParam[].class))) .thenReturn(resp); CommonServerMessageBlockResponse out = handle.send(req, RequestParam.NO_RETRY); assertSame(resp, out); verify(treeConnection, times(1)).send(eq(resourceLoc), eq((CommonServerMessageBlockRequest) req), isNull(), any(RequestParam[].class));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0)