Package jcifs.internal.smb1.trans2
Class Trans2GetDfsReferralResponse
- java.lang.Object
-
- jcifs.internal.smb1.ServerMessageBlock
-
- jcifs.internal.smb1.trans.SmbComTransactionResponse
-
- jcifs.internal.smb1.trans2.Trans2GetDfsReferralResponse
-
- All Implemented Interfaces:
Enumeration<SmbComTransactionResponse>
,CommonServerMessageBlock
,CommonServerMessageBlockRequest
,CommonServerMessageBlockResponse
,RequestWithPath
,Message
,Request
,Response
public class Trans2GetDfsReferralResponse extends SmbComTransactionResponse
-
-
Field Summary
Fields Modifier and Type Field Description static int
FLAGS_NAME_LIST_REFERRAL
static int
FLAGS_TARGET_SET_BOUNDARY
static int
TYPE_NON_ROOT_TARGETS
static int
TYPE_ROOT_TARGETS
-
Fields inherited from class jcifs.internal.smb1.trans.SmbComTransactionResponse
bufDataStart, bufParameterStart, dataDisplacement, dataOffset, parameterCount, parameterDisplacement, parameterOffset, setupCount, totalDataCount, totalParameterCount
-
Fields inherited from class jcifs.internal.smb1.ServerMessageBlock
batchLevel, byteCount, digest, errorCode, flags2, headerStart, length, mid, path, pid, SMB_COM_CHECK_DIRECTORY, SMB_COM_CLOSE, SMB_COM_CREATE_DIRECTORY, SMB_COM_DELETE, SMB_COM_DELETE_DIRECTORY, SMB_COM_ECHO, SMB_COM_FIND_CLOSE2, SMB_COM_LOCKING_ANDX, SMB_COM_LOGOFF_ANDX, SMB_COM_MOVE, SMB_COM_NEGOTIATE, SMB_COM_NT_CANCEL, SMB_COM_NT_CREATE_ANDX, SMB_COM_NT_TRANSACT, SMB_COM_NT_TRANSACT_SECONDARY, SMB_COM_OPEN_ANDX, SMB_COM_QUERY_INFORMATION, SMB_COM_READ_ANDX, SMB_COM_RENAME, SMB_COM_SEEK, SMB_COM_SESSION_SETUP_ANDX, SMB_COM_SET_INFORMATION, SMB_COM_TRANSACTION, SMB_COM_TRANSACTION_SECONDARY, SMB_COM_TRANSACTION2, SMB_COM_TREE_CONNECT_ANDX, SMB_COM_TREE_DISCONNECT, SMB_COM_WRITE, SMB_COM_WRITE_ANDX, tid, uid, wordCount
-
-
Constructor Summary
Constructors Constructor Description Trans2GetDfsReferralResponse(Configuration config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DfsReferralResponseBuffer
getDfsResponse()
boolean
isForceUnicode()
protected int
readDataWireFormat(byte[] buffer, int bufferIndex, int len)
protected int
readParametersWireFormat(byte[] buffer, int bufferIndex, int len)
protected int
readSetupWireFormat(byte[] buffer, int bufferIndex, int len)
String
toString()
protected int
writeDataWireFormat(byte[] dst, int dstIndex)
protected int
writeParametersWireFormat(byte[] dst, int dstIndex)
protected int
writeSetupWireFormat(byte[] dst, int dstIndex)
-
Methods inherited from class jcifs.internal.smb1.trans.SmbComTransactionResponse
decode, getDataCount, getNumEntries, getResults, getStatus, getSubCommand, hasMoreElements, nextElement, readBytesWireFormat, readParameterWordsWireFormat, releaseBuffer, reset, setBuffer, setDataCount, setNumEntries, setResults, setStatus, setSubCommand, writeBytesWireFormat, writeParameterWordsWireFormat
-
Methods inherited from class jcifs.internal.smb1.ServerMessageBlock
addFlags2, allowChain, clearReceived, createCancel, encode, equals, error, exception, getByteCount, getCommand, getConfig, getCreditCost, getDigest, getDomain, getErrorCode, getException, getExpiration, getFlags, getFlags2, getFullUNCPath, getGrantedCredits, getLength, getMid, getNext, getNextResponse, getOverrideTimeout, getPath, getPid, getRawPayload, getResponse, getServer, getSignSeq, getTid, getUid, hashCode, ignoreDisconnect, isAsync, isCancel, isError, isExtendedSecurity, isReceived, isResolveInDfs, isResponse, isResponseAsync, isRetainPayload, isUseUnicode, isVerifyFailed, prepare, readHeaderWireFormat, readString, readString, readString, readStringLength, received, remFlags2, retainPayload, setCommand, setDigest, setErrorCode, setExpiration, setExtendedSecurity, setFlags, setFlags2, setFullUNCPath, setMid, setOverrideTimeout, setPath, setPid, setRawPayload, setRequestCredits, setResolveInDfs, setResponse, setSessionId, setSignSeq, setTid, setUid, setUseUnicode, size, split, stringWireLength, verifySignature, writeHeaderWireFormat, writeString, writeString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Enumeration
asIterator
-
-
-
-
Field Detail
-
FLAGS_NAME_LIST_REFERRAL
public static final int FLAGS_NAME_LIST_REFERRAL
- See Also:
- Constant Field Values
-
FLAGS_TARGET_SET_BOUNDARY
public static final int FLAGS_TARGET_SET_BOUNDARY
- See Also:
- Constant Field Values
-
TYPE_ROOT_TARGETS
public static final int TYPE_ROOT_TARGETS
- See Also:
- Constant Field Values
-
TYPE_NON_ROOT_TARGETS
public static final int TYPE_NON_ROOT_TARGETS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Trans2GetDfsReferralResponse
public Trans2GetDfsReferralResponse(Configuration config)
- Parameters:
config
-
-
-
Method Detail
-
getDfsResponse
public DfsReferralResponseBuffer getDfsResponse()
- Returns:
- the buffer
-
isForceUnicode
public boolean isForceUnicode()
- Overrides:
isForceUnicode
in classServerMessageBlock
- Returns:
- the forceUnicode
-
writeSetupWireFormat
protected int writeSetupWireFormat(byte[] dst, int dstIndex)
- Specified by:
writeSetupWireFormat
in classSmbComTransactionResponse
-
writeParametersWireFormat
protected int writeParametersWireFormat(byte[] dst, int dstIndex)
- Specified by:
writeParametersWireFormat
in classSmbComTransactionResponse
-
writeDataWireFormat
protected int writeDataWireFormat(byte[] dst, int dstIndex)
- Specified by:
writeDataWireFormat
in classSmbComTransactionResponse
-
readSetupWireFormat
protected int readSetupWireFormat(byte[] buffer, int bufferIndex, int len)
- Specified by:
readSetupWireFormat
in classSmbComTransactionResponse
-
readParametersWireFormat
protected int readParametersWireFormat(byte[] buffer, int bufferIndex, int len)
- Specified by:
readParametersWireFormat
in classSmbComTransactionResponse
-
readDataWireFormat
protected int readDataWireFormat(byte[] buffer, int bufferIndex, int len)
- Specified by:
readDataWireFormat
in classSmbComTransactionResponse
-
toString
public String toString()
- Overrides:
toString
in classSmbComTransactionResponse
-
-