Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 650 for HANDLE (0.04 sec)

  1. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrOpenAlias.java

    /**
     * MSRPC implementation for opening an alias handle.
     * This class provides functionality to open a handle to a SAM alias
     * (local group) using the SAMR RPC interface.
     */
    public class MsrpcSamrOpenAlias extends samr.SamrOpenAlias {
    
        /**
         * Creates a new request to open an alias handle.
         *
         * @param handle the domain handle
         * @param access the desired access rights
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbWatchHandleImpl.java

        private final SmbFileHandleImpl handle;
        private final int filter;
        private final boolean recursive;
    
        /**
         * @param fh
         * @param filter
         * @param recursive
         *
         */
        public SmbWatchHandleImpl(final SmbFileHandleImpl fh, final int filter, final boolean recursive) {
            this.handle = fh;
            this.filter = filter;
            this.recursive = recursive;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/msrpc/SamrPolicyHandle.java

         *
         * @param handle the DCE/RPC handle for communication
         * @param server the server name (null defaults to local server)
         * @param access the desired access rights
         * @throws IOException if an I/O error occurs during handle creation
         */
        public SamrPolicyHandle(final DcerpcHandle handle, String server, final int access) throws IOException {
            this.handle = handle;
            if (server == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/witness/WitnessUnregisterMessage.java

        }
    
        /**
         * Sets the context handle for unregistration.
         *
         * @param contextHandle the context handle from registration
         */
        public void setContextHandle(byte[] contextHandle) {
            this.contextHandle = contextHandle != null ? contextHandle.clone() : null;
        }
    
        /**
         * Gets the context handle.
         *
         * @return the context handle
         */
        public byte[] getContextHandle() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java

    /**
     * Information about a durable or persistent SMB handle.
     * This class holds all the necessary information to reconnect
     * a handle after network failures or server reboots.
     */
    public class HandleInfo implements Serializable {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * The full path to the file or directory associated with this handle
         */
        private final String path;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/LsaPolicyHandleTest.java

                return null;
            }).when(mockDcerpcHandle).sendrecv(any(MsrpcLsarOpenPolicy2.class));
    
            // Act
            LsaPolicyHandle handle = new LsaPolicyHandle(mockDcerpcHandle, server, access);
    
            // Assert
            assertNotNull(handle);
            verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcLsarOpenPolicy2.class));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

            }
    
            @Test
            @DisplayName("Should handle null file ID in setter")
            void testSetNullFileId() {
                assertDoesNotThrow(() -> request.setFileId(null));
            }
    
            @Test
            @DisplayName("Should handle various file ID sizes")
            void testVariousFileIdSizes() {
                byte[] shortFileId = new byte[8];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

                return new LeaseV2CreateContextResponse();
            case "DHnQ": // Durable Handle Request/Response
                return new jcifs.internal.smb2.persistent.DurableHandleResponse();
            case "DH2Q": // Durable Handle V2 Request/Response
                return new jcifs.internal.smb2.persistent.DurableHandleV2Response();
            case "DHnC": // Durable Handle Reconnect Request/Response
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/msrpc/lsarpc.java

             *
             * @param handle the policy handle to close
             */
            public LsarClose(final rpc.policy_handle handle) {
                this.handle = handle;
            }
    
            @Override
            public void encode_in(final NdrBuffer _dst) throws NdrException {
                this.handle.encode(_dst);
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 44.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

            }
    
            @Test
            @DisplayName("Should handle special SMB2 context names")
            void testSMB2ContextNames() {
                // Common SMB2 create context names
                String[] contextNames = { "DHnQ", // Durable handle request
                        "DHnC", // Durable handle reconnect
                        "AlSi", // Allocation size
                        "MxAc", // Max access
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
Back to top