- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for Smb2LogoffResponse (0.07 seconds)
-
src/main/java/jcifs/internal/smb2/session/Smb2LogoffResponse.java
* * @author mbechler * */ public class Smb2LogoffResponse extends ServerMessageBlock2Response { /** * Constructs an SMB2 logoff response with the given configuration. * * @param config the configuration for this response */ public Smb2LogoffResponse(final Configuration config) { super(config); } /** * {@inheritDoc}Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java
@ExtendWith(MockitoExtension.class) class Smb2LogoffResponseTest { // Helper to create an instance with a mocked Configuration private Smb2LogoffResponse newResponse() { Configuration cfg = Mockito.mock(Configuration.class); return new Smb2LogoffResponse(cfg); } @Test @DisplayName("Constructor accepts a Configuration and creates instance") void constructor_happyPath() { // ArrangeCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/session/Smb2LogoffRequestTest.java
@Test @DisplayName("createResponse returns Smb2LogoffResponse and requests CIFSContext config") void createResponse_happyPath() { // Arrange when(cifsContext.getConfig()).thenReturn(configuration); Smb2LogoffRequest req = newRequest(); // Act Smb2LogoffResponse resp = req.createResponse(cifsContext, req); // AssertCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/session/Smb2LogoffRequest.java
public class Smb2LogoffRequest extends ServerMessageBlock2Request<Smb2LogoffResponse> { /** * Constructs an SMB2 logoff request with the given configuration. * * @param config the configuration for this request */ public Smb2LogoffRequest(final Configuration config) { super(config, SMB2_LOGOFF); } @Override
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.4K bytes - Click Count (0)