Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for bindIf (0.27 sec)

  1. src/main/java/jcifs/smb1/dcerpc/DcerpcBind.java

    import jcifs.smb1.dcerpc.ndr.*;
    
    public class DcerpcBind extends DcerpcMessage {
    
        static final String[] result_message = {
            "0",
            "DCERPC_BIND_ERR_ABSTRACT_SYNTAX_NOT_SUPPORTED",
            "DCERPC_BIND_ERR_PROPOSED_TRANSFER_SYNTAXES_NOT_SUPPORTED",
            "DCERPC_BIND_ERR_LOCAL_LIMIT_EXCEEDED"
        };
    
        static String getResultMessage(int result) {
            return result < 4 ?
                    result_message[result] :
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 3.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/DcerpcHandle.java

        }
    
    
        /**
         * Bind the handle
         * 
         * @throws DcerpcException
         * @throws IOException
         */
        public void bind () throws DcerpcException, IOException {
            synchronized ( this ) {
                try {
                    this.state = 1;
                    DcerpcMessage bind = new DcerpcBind(this.binding, this);
                    sendrecv(bind);
                }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jun 30 10:11:57 GMT 2019
    - 12.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

                                        new TransWaitNamedPipeResponse() );
            }
            writeDirect( b, off, len, 0 );
        }
    /**
     * Just bypasses TransWaitNamedPipe - used by DCERPC bind.
     */
        public void writeDirect( byte[] b, int off, int len, int flags ) throws IOException {
            if( len <= 0 ) {
                return;
            }
    
            if( tmp == null ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 9.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFileOutputStream.java

        @Override
        public void write ( byte[] b, int off, int len ) throws IOException {
            writeDirect(b, off, len, 0);
        }
    
    
        /**
         * Just bypasses TransWaitNamedPipe - used by DCERPC bind.
         * 
         * @param b
         * @param off
         * @param len
         * @param flags
         * @throws IOException
         */
        public void writeDirect ( byte[] b, int off, int len, int flags ) throws IOException {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sat Nov 13 15:14:04 GMT 2021
    - 11.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/DcerpcBind.java

    /**
     * 
     * @author mbechler
     *
     */
    public class DcerpcBind extends DcerpcMessage {
    
        private static final String[] result_message = {
            "0", "DCERPC_BIND_ERR_ABSTRACT_SYNTAX_NOT_SUPPORTED", "DCERPC_BIND_ERR_PROPOSED_TRANSFER_SYNTAXES_NOT_SUPPORTED",
            "DCERPC_BIND_ERR_LOCAL_LIMIT_EXCEEDED"
        };
    
    
        private static String getResultMessage ( int result ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

            }
            throw new DcerpcException("DCERPC transport not supported: " + url);
        }
    
        public void bind() throws DcerpcException, IOException {
    synchronized (this) {
            try {
                state = 1;
                DcerpcMessage bind = new DcerpcBind(binding, this);
                sendrecv(bind);
            } catch (IOException ioe) {
                state = 0;
                throw ioe;
            }
    }
        }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/Configuration.java

    
        /**
         * 
         * Property <tt>jcifs.netbios.lport</tt> (int)
         * 
         * @return local bind port for nebios connections
         */
        int getNetbiosLocalPort ();
    
    
        /**
         * 
         * Property <tt>jcifs.netbios.laddr</tt> (string)
         * 
         * @return local bind address for netbios connections
         */
        InetAddress getNetbiosLocalAddress ();
    
    
        /**
         * 
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 18K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                }
                socket.setSoTimeout( SO_TIMEOUT );
    */
    
                socket = new Socket();
                if (localAddr != null)
                    socket.bind(new InetSocketAddress(localAddr, localPort));
                socket.connect(new InetSocketAddress(address.getHostAddress(), 139), CONN_TIMEOUT);
                socket.setSoTimeout( SO_TIMEOUT );
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 31.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTransportImpl.java

            Name calledName = new Name(tc.getConfig(), this.address.firstCalledName(), 0x20, null);
            do {
                this.socket = new Socket();
                if ( this.localAddr != null )
                    this.socket.bind(new InetSocketAddress(this.localAddr, this.localPort));
                this.socket.connect(new InetSocketAddress(this.address.getHostAddress(), 139), tc.getConfig().getConnTimeout());
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java

                buf.dec_ndr_short();        /* cancel count */
            }
            if (ptype == 3 || ptype == 13) {               /* Fault */
                result = buf.dec_ndr_long();
            } else {                        /* Bind_ack or Response */
                decode_out(buf);
            }
        }
    
        public abstract int getOpnum();
        public abstract void encode_in(NdrBuffer buf) throws NdrException;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 4.2K bytes
    - Viewed (0)
Back to top