Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for connect (0.5 sec)

  1. src/main/java/jcifs/smb1/util/transport/Transport.java

        /* Build a connection. Only one thread will ever call this method at
         * any one time. If this method throws an exception or the connect timeout
         * expires an encapsulating TransportException will be thrown from connect
         * and the transport will be in error.
         */
    
        protected abstract void doConnect() throws Exception;
    
        /* Tear down a connection. If the hard parameter is true, the diconnection
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java

                                    String service, ServerMessageBlock andx ) {
            super( andx );
            this.session = session;
            this.path = path;
            this.service = service;
            command = SMB_COM_TREE_CONNECT_ANDX;
        }
    
        int getBatchLimit( byte command ) {
            int c = (int)( command & 0xFF );
            // why isn't this just return batchLimits[c]?
            switch( c ) {
                case SMB_COM_CHECK_DIRECTORY:
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 6.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java

                }
            } else {
                throw new SmbException("Unsupported");
            }
        }
    
        int getBatchLimit( byte command ) {
            return command == SMB_COM_TREE_CONNECT_ANDX ? BATCH_LIMIT : 0;
        }
        int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            writeInt2( session.transport.snd_buf_size, dst, dstIndex );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

            else {
                throw new SmbException("Unsupported");
            }
        }
    
    
        @Override
        protected int getBatchLimit ( Configuration cfg, byte cmd ) {
            return cmd == SMB_COM_TREE_CONNECT_ANDX ? cfg.getBatchLimit("SessionSetupAndX.TreeConnectAndX") : 0;
        }
    
    
        @Override
        protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Mar 17 10:20:23 GMT 2019
    - 8.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

            if (file.type != SmbFile.TYPE_NAMED_PIPE) {
                file.open( openFlags, access, SmbFile.ATTR_NORMAL, 0 );
                this.openFlags &= ~(SmbFile.O_CREAT | SmbFile.O_TRUNC);
            } else {
                file.connect0();
            }
            readSize = Math.min( file.tree.session.transport.rcv_buf_size - 70,
                                file.tree.session.transport.server.maxBufferSize - 70 );
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

         * @param service
         * @param andx
         */
        public SmbComTreeConnectAndX ( CIFSContext ctx, ServerData server, String path, String service, ServerMessageBlock andx ) {
            super(ctx.getConfig(), SMB_COM_TREE_CONNECT_ANDX, andx);
            this.ctx = ctx;
            this.server = server;
            this.path = path;
            this.service = service;
        }
    
    
        @Override
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/NbtSocket.java

            } else {
                this.calledName = new Name( calledName, 0x20, null );
            }
            soTimeout = Config.getInt( "jcifs.smb1.netbios.soTimeout", DEFAULT_SO_TIMEOUT );
            connect();
        }
    
        public NbtAddress getNbtAddress() {
            return address;
        }
        public InputStream getInputStream() throws IOException {
            return new SocketInputStream( super.getInputStream() );
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 4.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbNamedPipe.java

     * </pre>
     * 
     * </td>
     * <td>
     * Open the Named Pipe foo for reading and writing. The pipe will behave like the <code>CallNamedPipe</code> interface.
     * </td>
     * </tr>
     * <tr>
     * <td width="20%">
     * 
     * <pre>
     * new SmbNamedPipe("smb://server/IPC$/foo", SmbNamedPipe.PIPE_TYPE_RDWR | SmbNamedPipe.PIPE_TYPE_TRANSACT, context);
     * </pre>
     * 
     * </td>
     * <td>
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbTree.java

        
                session.transport.connect();
    
                unc = "\\\\" + session.transport.tconHostName + '\\' + share;
        
                /* IBM iSeries doesn't like specifying a service. Always reset
                 * the service to whatever was determined in the constructor.
                 */
                service = service0;
        
                /*
                 * Tree Connect And X Request / Response
                 */
        
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbSessionInternal.java

         */
        byte[] getSessionKey () throws CIFSException;
    
    
        /**
         * 
         * @return the transport for this session
         */
        SmbTransport getTransport ();
    
    
        /**
         * Connect to the logon share
         * 
         * @throws SmbException
         */
        void treeConnectLogon () throws SmbException;
    
    
        /**
         * @param share
         * @param service
         * @return tree instance
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.7K bytes
    - Viewed (0)
Back to top