Package jcifs.internal.smb2.notify
Class Smb2ChangeNotifyRequest
- java.lang.Object
-
- jcifs.internal.smb2.ServerMessageBlock2
-
- jcifs.internal.smb2.ServerMessageBlock2Request<Smb2ChangeNotifyResponse>
-
- jcifs.internal.smb2.notify.Smb2ChangeNotifyRequest
-
- All Implemented Interfaces:
CommonServerMessageBlock
,CommonServerMessageBlockRequest
,Request<Smb2ChangeNotifyResponse>
,Message
,Request
public class Smb2ChangeNotifyRequest extends ServerMessageBlock2Request<Smb2ChangeNotifyResponse>
- Author:
- mbechler
-
-
Field Summary
Fields Modifier and Type Field Description static int
FILE_NOTIFY_CHANGE_ATTRIBUTES
static int
FILE_NOTIFY_CHANGE_CREATION
static int
FILE_NOTIFY_CHANGE_DIR_NAME
static int
FILE_NOTIFY_CHANGE_EA
static int
FILE_NOTIFY_CHANGE_FILE_NAME
static int
FILE_NOTIFY_CHANGE_LAST_ACCESS
static int
FILE_NOTIFY_CHANGE_LAST_WRITE
static int
FILE_NOTIFY_CHANGE_SECURITY
static int
FILE_NOTIFY_CHANGE_SIZE
static int
FILE_NOTIFY_CHANGE_STREAM_NAME
static int
FILE_NOTIFY_CHANGE_STREAM_SIZE
static int
FILE_NOTIFY_CHANGE_STREAM_WRITE
static int
SMB2_WATCH_TREE
-
Fields inherited from class jcifs.internal.smb2.ServerMessageBlock2
SMB2_CANCEL, SMB2_CHANGE_NOTIFY, SMB2_CLOSE, SMB2_CREATE, SMB2_ECHO, SMB2_FLAGS_ASYNC_COMMAND, SMB2_FLAGS_DFS_OPERATIONS, SMB2_FLAGS_PRIORITY_MASK, SMB2_FLAGS_RELATED_OPERATIONS, SMB2_FLAGS_REPLAY_OPERATION, SMB2_FLAGS_SERVER_TO_REDIR, SMB2_FLAGS_SIGNED, SMB2_FLUSH, SMB2_IOCTL, SMB2_LOCK, SMB2_LOGOFF, SMB2_NEGOTIATE, SMB2_OPLOCK_BREAK, SMB2_QUERY_DIRECTORY, SMB2_QUERY_INFO, SMB2_READ, SMB2_SESSION_SETUP, SMB2_SET_INFO, SMB2_TREE_CONNECT, SMB2_TREE_DISCONNECT, SMB2_WRITE
-
-
Constructor Summary
Constructors Constructor Description Smb2ChangeNotifyRequest(Configuration config, byte[] fileId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Smb2ChangeNotifyResponse
createResponse(CIFSContext tc, ServerMessageBlock2Request<Smb2ChangeNotifyResponse> req)
protected int
readBytesWireFormat(byte[] buffer, int bufferIndex)
void
setCompletionFilter(int completionFilter)
void
setNotifyFlags(int notifyFlags)
int
size()
protected int
writeBytesWireFormat(byte[] dst, int dstIndex)
-
Methods inherited from class jcifs.internal.smb2.ServerMessageBlock2Request
allowChain, createCancel, encode, getCreditCost, getNext, getOverrideTimeout, getResponse, ignoreDisconnect, initResponse, isCancel, isResponseAsync, setNext, setOverrideTimeout, setRequestCredits, setResponse, setTid, split
-
Methods inherited from class jcifs.internal.smb2.ServerMessageBlock2
addFlags, chain, clearFlags, decode, decode, equals, getAsyncId, getCommand, getConfig, getCredit, getCreditCharge, getDigest, getErrorContextCount, getErrorData, getFlags, getHeaderStart, getLength, getMid, getNextCommandOffset, getRawPayload, getSessionId, getStatus, getTreeId, hashCode, haveResponse, isAsync, isErrorResponseStatus, isRetainPayload, pad8, readErrorResponse, readHeaderWireFormat, reset, retainPayload, setAsyncId, setCommand, setCredit, setDigest, setExtendedSecurity, setMid, setNext, setRawPayload, setReadSize, setSessionId, setTreeId, setUid, size8, size8, toString, writeHeaderWireFormat
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jcifs.internal.CommonServerMessageBlock
decode, getCommand, getDigest, getMid, reset, setCommand, setDigest, setExtendedSecurity, setMid, setSessionId, setUid
-
Methods inherited from interface jcifs.util.transport.Message
getRawPayload, isRetainPayload, retainPayload, setRawPayload
-
-
-
-
Field Detail
-
SMB2_WATCH_TREE
public static final int SMB2_WATCH_TREE
- See Also:
- Constant Field Values
-
FILE_NOTIFY_CHANGE_FILE_NAME
public static final int FILE_NOTIFY_CHANGE_FILE_NAME
- See Also:
- Constant Field Values
-
FILE_NOTIFY_CHANGE_DIR_NAME
public static final int FILE_NOTIFY_CHANGE_DIR_NAME
- See Also:
- Constant Field Values
-
FILE_NOTIFY_CHANGE_ATTRIBUTES
public static final int FILE_NOTIFY_CHANGE_ATTRIBUTES
- See Also:
- Constant Field Values
-
FILE_NOTIFY_CHANGE_SIZE
public static final int FILE_NOTIFY_CHANGE_SIZE
- See Also:
- Constant Field Values
-
FILE_NOTIFY_CHANGE_LAST_WRITE
public static final int FILE_NOTIFY_CHANGE_LAST_WRITE
- See Also:
- Constant Field Values
-
FILE_NOTIFY_CHANGE_LAST_ACCESS
public static final int FILE_NOTIFY_CHANGE_LAST_ACCESS
- See Also:
- Constant Field Values
-
FILE_NOTIFY_CHANGE_CREATION
public static final int FILE_NOTIFY_CHANGE_CREATION
- See Also:
- Constant Field Values
-
FILE_NOTIFY_CHANGE_EA
public static final int FILE_NOTIFY_CHANGE_EA
- See Also:
- Constant Field Values
-
FILE_NOTIFY_CHANGE_SECURITY
public static final int FILE_NOTIFY_CHANGE_SECURITY
- See Also:
- Constant Field Values
-
FILE_NOTIFY_CHANGE_STREAM_NAME
public static final int FILE_NOTIFY_CHANGE_STREAM_NAME
- See Also:
- Constant Field Values
-
FILE_NOTIFY_CHANGE_STREAM_SIZE
public static final int FILE_NOTIFY_CHANGE_STREAM_SIZE
- See Also:
- Constant Field Values
-
FILE_NOTIFY_CHANGE_STREAM_WRITE
public static final int FILE_NOTIFY_CHANGE_STREAM_WRITE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Smb2ChangeNotifyRequest
public Smb2ChangeNotifyRequest(Configuration config, byte[] fileId)
- Parameters:
config
-fileId
-
-
-
Method Detail
-
setNotifyFlags
public void setNotifyFlags(int notifyFlags)
- Parameters:
notifyFlags
- the notifyFlags to set
-
setCompletionFilter
public void setCompletionFilter(int completionFilter)
- Parameters:
completionFilter
- the completionFilter to set
-
createResponse
protected Smb2ChangeNotifyResponse createResponse(CIFSContext tc, ServerMessageBlock2Request<Smb2ChangeNotifyResponse> req)
- Specified by:
createResponse
in classServerMessageBlock2Request<Smb2ChangeNotifyResponse>
- Returns:
- See Also:
ServerMessageBlock2Request.createResponse(jcifs.CIFSContext, jcifs.internal.smb2.ServerMessageBlock2Request)
-
size
public int size()
- Returns:
- the size of this message
- See Also:
CommonServerMessageBlockRequest.size()
-
writeBytesWireFormat
protected int writeBytesWireFormat(byte[] dst, int dstIndex)
- Specified by:
writeBytesWireFormat
in classServerMessageBlock2
- See Also:
ServerMessageBlock2.writeBytesWireFormat(byte[], int)
-
readBytesWireFormat
protected int readBytesWireFormat(byte[] buffer, int bufferIndex)
- Specified by:
readBytesWireFormat
in classServerMessageBlock2
- See Also:
ServerMessageBlock2.readBytesWireFormat(byte[], int)
-
-