Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for getServerStartTime (0.62 seconds)

  1. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

            return this.negotiateContexts;
        }
    
        /**
         * Gets the server start time timestamp.
         *
         * @return the serverStartTime
         */
        public long getServerStartTime() {
            return this.serverStartTime;
        }
    
        /**
         * Gets the security mode flags from the server.
         *
         * @return the securityMode
         */
        public int getSecurityMode() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 24K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            // Given
            long startTime = System.currentTimeMillis();
            setPrivateField(response, "serverStartTime", startTime);
    
            // When
            long result = response.getServerStartTime();
    
            // Then
            assertEquals(startTime, result);
        }
    
        @Test
        @DisplayName("Should return security mode")
        void testGetSecurityMode() throws Exception {
            // Given
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 32.5K bytes
    - Click Count (0)
Back to Top