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 intPIPE_TYPE_CALLPipe operations should behave like theCallNamedPipeWin32 Named Pipe function.static intPIPE_TYPE_DCE_TRANSACTPipe is used for DCEstatic intPIPE_TYPE_RDONLYThe pipe should be opened read-only.static intPIPE_TYPE_RDWRThe pipe should be opened for both reading and writing.static intPIPE_TYPE_TRANSACTPipe operations should behave like theTransactNamedPipeWin32 Named Pipe function.static intPIPE_TYPE_UNSHAREDPipe should use it's own exclusive transport connectionstatic intPIPE_TYPE_WRONLYThe pipe should be opened only for writing.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetPipeType()SmbPipeHandleopenPipe()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 theCallNamedPipeWin32 Named Pipe function.- See Also:
- Constant Field Values
-
PIPE_TYPE_TRANSACT
static final int PIPE_TYPE_TRANSACT
Pipe operations should behave like theTransactNamedPipeWin32 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
-
-