Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for contextHandle (0.06 sec)

  1. src/main/java/jcifs/internal/witness/WitnessRpcClient.java

         * Generates a registration ID from context handle and share name.
         *
         * @param contextHandle the context handle
         * @param shareName the share name
         * @return the registration ID
         */
        private String generateRegistrationId(byte[] contextHandle, String shareName) {
            if (contextHandle == null || contextHandle.length == 0) {
                return "WITNESS-" + System.currentTimeMillis() + "-" + shareName.hashCode();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java

         *
         * @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() {
            return contextHandle != null ? contextHandle.clone() : null;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/witness/WitnessClient.java

            String registrationId = registration.getRegistrationId();
    
            CompletableFuture<Void> asyncTask = CompletableFuture.runAsync(() -> {
                byte[] contextHandle = registration.getContextHandle();
    
                while (!Thread.currentThread().isInterrupted() && registrations.containsKey(registrationId)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.8K bytes
    - Viewed (0)
Back to top