Package 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 Summary
Fields Modifier and Type Field Description static int
PIPE_TYPE_CALL
Pipe operations should behave like theCallNamedPipe
Win32 Named Pipe function.static int
PIPE_TYPE_DCE_TRANSACT
Pipe is used for DCEstatic int
PIPE_TYPE_RDONLY
The pipe should be opened read-only.static int
PIPE_TYPE_RDWR
The pipe should be opened for both reading and writing.static int
PIPE_TYPE_TRANSACT
Pipe operations should behave like theTransactNamedPipe
Win32 Named Pipe function.static int
PIPE_TYPE_UNSHARED
Pipe should use it's own exclusive transport connectionstatic int
PIPE_TYPE_WRONLY
The pipe should be opened only for writing.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getPipeType()
SmbPipeHandle
openPipe()
Create a pipe handle-
Methods inherited from interface jcifs.SmbResource
canRead, canWrite, children, children, children, children, close, copyTo, createNewFile, createTime, delete, exists, fileIndex, getAttributes, getContext, getDiskFreeSpace, getLocator, getName, getOwnerGroup, getOwnerGroup, getOwnerUser, getOwnerUser, getSecurity, getSecurity, getShareSecurity, getType, isDirectory, isFile, isHidden, lastAccess, lastModified, length, mkdir, mkdirs, openInputStream, openInputStream, openInputStream, openOutputStream, openOutputStream, openOutputStream, openOutputStream, openRandomAccess, openRandomAccess, renameTo, renameTo, resolve, setAttributes, setCreateTime, setFileTimes, setLastAccess, setLastModified, setReadOnly, setReadWrite, watch
-
-
-
-
Field Detail
-
PIPE_TYPE_RDONLY
static final int PIPE_TYPE_RDONLY
The pipe should be opened read-only.- See Also:
- Constant Field Values
-
PIPE_TYPE_WRONLY
static final int PIPE_TYPE_WRONLY
The pipe should be opened only for writing.- See Also:
- Constant Field Values
-
PIPE_TYPE_RDWR
static final int PIPE_TYPE_RDWR
The pipe should be opened for both reading and writing.- See Also:
- Constant Field Values
-
PIPE_TYPE_CALL
static final int PIPE_TYPE_CALL
Pipe operations should behave like theCallNamedPipe
Win32 Named Pipe function.- See Also:
- Constant Field Values
-
PIPE_TYPE_TRANSACT
static final int PIPE_TYPE_TRANSACT
Pipe operations should behave like theTransactNamedPipe
Win32 Named Pipe function.- See Also:
- Constant Field Values
-
PIPE_TYPE_DCE_TRANSACT
static final int PIPE_TYPE_DCE_TRANSACT
Pipe is used for DCE- See Also:
- Constant Field Values
-
PIPE_TYPE_UNSHARED
static final int PIPE_TYPE_UNSHARED
Pipe should use it's own exclusive transport connection- See Also:
- Constant Field Values
-
-
Method Detail
-
getPipeType
int getPipeType()
- Returns:
- the type of the pipe
-
openPipe
SmbPipeHandle openPipe()
Create a pipe handle- Returns:
- pipe handle, needs to be closed when finished
-
-