java.lang.Object
org.codelibs.jcifs.smb.internal.fscc.FsctlPipeWaitRequest
- All Implemented Interfaces:
Encodable
File System Control Code (FSCC) request for pipe wait operations.
Implements the FSCTL_PIPE_WAIT control code used to wait for a named pipe
to become available when attempting to connect to a busy pipe.
- Author:
- mbechler
-
Constructor Summary
ConstructorsConstructorDescriptionFsctlPipeWaitRequest(String name) Constructs a pipe wait request without timeout.FsctlPipeWaitRequest(String name, long timeout) Constructs a pipe wait request with timeout. -
Method Summary
-
Constructor Details
-
FsctlPipeWaitRequest
Constructs a pipe wait request without timeout.- Parameters:
name- the pipe name to wait for
-
FsctlPipeWaitRequest
Constructs a pipe wait request with timeout.- Parameters:
name- the pipe name to wait fortimeout- the timeout value in milliseconds
-
-
Method Details
-
encode
public int encode(byte[] dst, int dstIndex) Encodes this object into the specified byte array. -
size
public int size()Returns the size in bytes that this object will occupy when encoded.
-