Module jcifs

Interface SmbPipeResource

All Superinterfaces:
AutoCloseable, SmbResource
All Known Implementing Classes:
SmbNamedPipe

public interface SmbPipeResource extends SmbResource
SMB resource respresenting a named pipe
Author:
mbechler
  • Field Details

    • PIPE_TYPE_RDONLY

      static final int PIPE_TYPE_RDONLY
      The pipe should be opened read-only.
      See Also:
    • PIPE_TYPE_WRONLY

      static final int PIPE_TYPE_WRONLY
      The pipe should be opened only for writing.
      See Also:
    • PIPE_TYPE_RDWR

      static final int PIPE_TYPE_RDWR
      The pipe should be opened for both reading and writing.
      See Also:
    • PIPE_TYPE_CALL

      static final int PIPE_TYPE_CALL
      Pipe operations should behave like the CallNamedPipe Win32 Named Pipe function.
      See Also:
    • PIPE_TYPE_TRANSACT

      static final int PIPE_TYPE_TRANSACT
      Pipe operations should behave like the TransactNamedPipe Win32 Named Pipe function.
      See Also:
    • PIPE_TYPE_DCE_TRANSACT

      static final int PIPE_TYPE_DCE_TRANSACT
      Pipe is used for DCE
      See Also:
    • PIPE_TYPE_UNSHARED

      static final int PIPE_TYPE_UNSHARED
      Pipe should use it's own exclusive transport connection
      See Also:
  • Method Details

    • getPipeType

      int getPipeType()
      Gets the type of this pipe.
      Returns:
      the type of the pipe
    • openPipe

      SmbPipeHandle openPipe()
      Create a pipe handle
      Returns:
      pipe handle, needs to be closed when finished