Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for sendrecv (2.21 sec)

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

                message.setFlags(request.getFlags());
                message.setTimeout((int) (context.getConfig().getWitnessRegistrationTimeout() / 1000));
    
                // Send the RPC request
                rpcHandle.sendrecv(message);
    
                // Create response from RPC message results
                WitnessRegisterResponse response = new WitnessRegisterResponse();
                response.setReturnCode(message.getReturnCode());
    
    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/smb/SIDCacheImpl.java

        }
    
        void resolveSids(final DcerpcHandle handle, final LsaPolicyHandle policyHandle, final jcifs.SID[] sids) throws IOException {
            final MsrpcLookupSids rpc = new MsrpcLookupSids(policyHandle, sids);
            handle.sendrecv(rpc);
            switch (rpc.retval) {
            case 0:
            case NtStatus.NT_STATUS_NONE_MAPPED:
            case 0x00000107: // NT_STATUS_SOME_NOT_MAPPED
                break;
            default:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

            }
            return this.output;
        }
    
        /**
         *
         * {@inheritDoc}
         *
         * @see jcifs.smb.SmbPipeHandleInternal#sendrecv(byte[], int, int, byte[], int)
         */
        @SuppressWarnings("resource")
        @Override
        public int sendrecv(final byte[] buf, final int off, final int length, final byte[] inB, final int maxRecvSize) throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTransportImpl.java

            throw new IOException("Failed to establish session with " + this.address);
        }
    
        private SmbNegotiation negotiate(int prt) throws IOException {
            /*
             * We cannot use Transport.sendrecv() yet because
             * the Transport thread is not setup until doConnect()
             * returns and we want to suppress all communication
             * until we have properly negotiated.
             */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/transport/Transport.java

         * @param params additional parameters for the request
         * @return the response
         * @throws IOException if an I/O error occurs
         */
        public <T extends Response> T sendrecv(final Request request, final T response, final Set<RequestParam> params) throws IOException {
            if (isDisconnected() && this.state != 5) {
                throw new TransportException("Transport is disconnected " + this.name);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFile.java

            DcerpcHandle handle = DcerpcHandle.getHandle("ncacn_np:" + getAddress().getHostAddress() + "[\\PIPE\\netdfs]", auth);
            try {
                rpc = new MsrpcDfsRootEnum(getServer());
                handle.sendrecv(rpc);
                if (rpc.retval != 0) {
                    throw new SmbException(rpc.retval, true);
                }
                return rpc.getEntries();
            } finally {
                try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFile.java

                    server = server + ":" + this.fileLocator.getPort();
                }
                try (DcerpcHandle handle = DcerpcHandle.getHandle("ncacn_np:" + server + "[\\PIPE\\srvsvc]", getContext())) {
                    handle.sendrecv(rpc);
                    if (rpc.retval != 0) {
                        throw new SmbException(rpc.retval, true);
                    }
                    aces = rpc.getSecurity();
                    if (aces != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
Back to top