- All Superinterfaces:
AutoCloseable,SmbResource
- All Known Implementing Classes:
SmbNamedPipe
SMB resource respresenting a named pipe
- Author:
- mbechler
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intPipe operations should behave like theCallNamedPipeWin32 Named Pipe function.static final intPipe is used for DCEstatic final intThe pipe should be opened read-only.static final intThe pipe should be opened for both reading and writing.static final intPipe operations should behave like theTransactNamedPipeWin32 Named Pipe function.static final intPipe should use it's own exclusive transport connectionstatic final intThe pipe should be opened only for writing. -
Method Summary
Modifier and TypeMethodDescriptionintGets the type of this pipe.openPipe()Create a pipe handleMethods inherited from interface org.codelibs.jcifs.smb.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 Details
-
PIPE_TYPE_RDONLY
static final int PIPE_TYPE_RDONLYThe pipe should be opened read-only.- See Also:
-
PIPE_TYPE_WRONLY
static final int PIPE_TYPE_WRONLYThe pipe should be opened only for writing.- See Also:
-
PIPE_TYPE_RDWR
static final int PIPE_TYPE_RDWRThe pipe should be opened for both reading and writing.- See Also:
-
PIPE_TYPE_CALL
static final int PIPE_TYPE_CALLPipe operations should behave like theCallNamedPipeWin32 Named Pipe function.- See Also:
-
PIPE_TYPE_TRANSACT
static final int PIPE_TYPE_TRANSACTPipe operations should behave like theTransactNamedPipeWin32 Named Pipe function.- See Also:
-
PIPE_TYPE_DCE_TRANSACT
static final int PIPE_TYPE_DCE_TRANSACTPipe is used for DCE- See Also:
-
PIPE_TYPE_UNSHARED
static final int PIPE_TYPE_UNSHAREDPipe 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
-