Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for pipe (0.18 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

     * stream created from a Named Pipe this method will query the server using a
     * "peek named pipe" operation and return the number of available bytes
     * on the server.
     */
        public int available() throws IOException {
            SmbNamedPipe pipe;
            TransPeekNamedPipe req;
            TransPeekNamedPipeResponse resp;
    
            if( file.type != SmbFile.TYPE_NAMED_PIPE ) {
                return 0;
            }
    
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/SmbPipeHandle.java

    import java.io.InputStream;
    import java.io.OutputStream;
    
    
    /**
     * Handle to an open named pipe
     * 
     * @author mbechler
     *
     */
    public interface SmbPipeHandle extends AutoCloseable {
    
        /**
         * @return the pipe
         */
        SmbPipeResource getPipe ();
    
    
        /**
         * 
         * @return this pipe's input stream
         * @throws CIFSException
         */
        InputStream getInput () throws CIFSException;
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/TransPeekNamedPipeResponse.java

        private SmbNamedPipe pipe;
        private int head;
    
        static final int STATUS_DISCONNECTED = 1;
        static final int STATUS_LISTENING = 2;
        static final int STATUS_CONNECTION_OK = 3;
        static final int STATUS_SERVER_END_CLOSED = 4;
    
        int status, available;
    
        TransPeekNamedPipeResponse( SmbNamedPipe pipe ) {
            this.pipe = pipe;
        }
    
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java

        private static final int INIT_PIPE_SIZE = 4096;
    
        private byte[] pipe_buf = new byte[INIT_PIPE_SIZE];
        private int beg_idx, nxt_idx, used;
        private boolean dcePipe;
    
        Object lock;
    
        TransactNamedPipeInputStream( SmbNamedPipe pipe ) throws SmbException,
                    MalformedURLException, UnknownHostException {
            super( pipe, ( pipe.pipeType & 0xFFFF00FF ) | SmbFile.O_EXCL );
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 4.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

    
        /**
         * @param pipe
         */
        public SmbPipeHandleImpl ( SmbNamedPipe pipe ) {
            this.pipe = pipe;
            this.transact = ( pipe.getPipeType() & SmbPipeResource.PIPE_TYPE_TRANSACT ) == SmbPipeResource.PIPE_TYPE_TRANSACT;
            this.call = ( pipe.getPipeType() & SmbPipeResource.PIPE_TYPE_CALL ) == SmbPipeResource.PIPE_TYPE_CALL;
            this.openFlags = ( pipe.getPipeType() & 0xFFFF00FF ) | SmbConstants.O_EXCL;
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Mon Apr 13 17:05:22 GMT 2020
    - 10.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFileInputStream.java

                        n = response.getDataLength();
                    }
                    catch ( SmbException se ) {
                        if ( type == SmbConstants.TYPE_NAMED_PIPE && se.getNtStatus() == NtStatus.NT_STATUS_PIPE_BROKEN ) {
                            return -1;
                        }
                        throw seToIoe(se);
                    }
                    if ( n <= 0 ) {
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun May 17 08:55:14 GMT 2020
    - 13.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/SmbPipeResource.java

         * The pipe should be opened for both reading and writing.
         */
    
        public static final int PIPE_TYPE_RDWR = SmbConstants.O_RDWR;
    
        /**
         * Pipe operations should behave like the <code>CallNamedPipe</code> Win32 Named Pipe function.
         */
    
        public static final int PIPE_TYPE_CALL = 0x0100;
    
        /**
         * Pipe operations should behave like the <code>TransactNamedPipe</code> Win32 Named Pipe function.
         */
    
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/TransCallNamedPipeResponse.java

     */
    
    package jcifs.smb1.smb1;
    
    class TransCallNamedPipeResponse extends SmbComTransactionResponse {
    
        private SmbNamedPipe pipe;
    
        TransCallNamedPipeResponse( SmbNamedPipe pipe ) {
            this.pipe = pipe;
        }
    
        int writeSetupWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int writeParametersWireFormat( byte[] dst, int dstIndex ) {
            return 0;
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/TransTransactNamedPipeResponse.java

     */
    
    package jcifs.smb1.smb1;
    
    class TransTransactNamedPipeResponse extends SmbComTransactionResponse {
    
        private SmbNamedPipe pipe;
    
        TransTransactNamedPipeResponse( SmbNamedPipe pipe ) {
            this.pipe = pipe;
        }
    
        int writeSetupWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int writeParametersWireFormat( byte[] dst, int dstIndex ) {
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/WinError.java

            "The pipe state is invalid.", "All pipe instances are busy.", "The pipe is being closed.", "No process is on the other end of the pipe.",
            "More data is available.", "The service is not available", "The list of servers for this workgroup is not currently available.",
        };
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.4K bytes
    - Viewed (0)
Back to top