Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Capability (0.04 sec)

  1. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

        /**
         * Share capability indicating DFS support.
         */
        public static final int SMB2_SHARE_CAP_DFS = 0x8;
    
        /**
         * Share capability indicating continuous availability support.
         */
        public static final int SMB2_SHARE_CAP_CONTINUOUS_AVAILABILITY = 0x10;
    
        /**
         * Share capability indicating scale-out support.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTreeHandleInternal.java

         * @throws CIFSException if a general CIFS error occurs
         */
        void ensureDFSResolved() throws CIFSException;
    
        /**
         * Checks if the server has the specified capability
         * @param cap the capability flag to check
         * @return whether the capability is present
         * @throws CIFSException if an error occurs checking capabilities
         */
        boolean hasCapability(int cap) throws CIFSException;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/SmbNegotiationResponse.java

         *
         * @return whether signing has been negotiated
         */
        boolean isSigningNegotiated();
    
        /**
         * Checks whether a specific capability has been negotiated.
         *
         * @param cap the capability flag to check
         * @return whether capability is negotiated
         */
        boolean haveCapabilitiy(int cap);
    
        /**
         * Gets the negotiated send buffer size.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/multichannel/Smb2ChannelCapabilities.java

         */
        public static final int ABSOLUTE_MAX_CHANNELS = 32;
    
        /**
         * Network interface capability flag for RSS support
         */
        public static final int NETWORK_INTERFACE_CAP_RSS = 0x00000001;
    
        /**
         * Network interface capability flag for RDMA support
         */
        public static final int NETWORK_INTERFACE_CAP_RDMA = 0x00000002;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportInternal.java

     *
     * @author mbechler
     */
    public interface SmbTransportInternal extends SmbTransport {
    
        /**
         * Checks if the transport supports the specified capability.
         *
         * @param cap the capability flag to check
         * @return whether the transport has the given capability
         * @throws SmbException if an error occurs checking capabilities
         */
        boolean hasCapability(int cap) throws SmbException;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java

            assertEquals(0x8000, SmbConstants.FLAGS2_UNICODE);
        }
    
        /**
         * Test capability flags.
         */
        @Test
        @DisplayName("Capability flags are correct")
        void capabilityFlagsTest() {
            // Test individual capability values
            assertEquals(0x0004, SmbConstants.CAP_UNICODE);
            assertEquals(0x0010, SmbConstants.CAP_NT_SMBS);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/persistent/Smb2HandleCapabilities.java

    package jcifs.internal.smb2.persistent;
    
    /**
     * Constants for SMB2/3 durable and persistent handle capabilities.
     */
    public final class Smb2HandleCapabilities {
    
        /**
         * Flag indicating persistent handle capability
         */
        public static final int SMB2_DHANDLE_FLAG_PERSISTENT = 0x00000002;
    
        /**
         * Default timeout for durable handles (2 minutes)
         */
        public static final long DEFAULT_DURABLE_TIMEOUT = 120000;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/nego/NegotiateContextRequest.java

     */
    package jcifs.internal.smb2.nego;
    
    import jcifs.Encodable;
    
    /**
     * SMB2 Negotiate Context request data structure.
     *
     * This class represents negotiate contexts used in SMB 3.1.1
     * for capability negotiation and security enhancements.
     *
     * @author mbechler
     */
    public interface NegotiateContextRequest extends Encodable {
    
        /**
         * Gets the negotiate context type.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/rdma/RdmaCapability.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.rdma;
    
    /**
     * RDMA capability flags indicating what operations are supported
     * by an RDMA provider implementation.
     */
    public enum RdmaCapability {
        /**
         * Remote direct read operations
         */
        RDMA_READ,
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java

            // Arrange
            when(handle.hasCapability(anyInt())).thenThrow(new CIFSException("capability check failed"));
    
            // Act + Assert
            CIFSException ex = assertThrows(CIFSException.class, () -> handle.hasCapability(42));
            assertEquals("capability check failed", ex.getMessage());
            verify(handle).hasCapability(42);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top