クラス SmbComTransaction
- java.lang.Object
-
- jcifs.internal.smb1.ServerMessageBlock
-
- jcifs.internal.smb1.trans.SmbComTransaction
-
- すべての実装されたインタフェース:
Enumeration<SmbComTransaction>
,CommonServerMessageBlock
,CommonServerMessageBlockRequest
,CommonServerMessageBlockResponse
,RequestWithPath
,Message
,Request
,Response
- 直系の既知のサブクラス:
NetServerEnum2
,NetShareEnum
,SmbComNtTransaction
,Trans2FindFirst2
,Trans2FindNext2
,Trans2GetDfsReferral
,Trans2QueryFSInformation
,Trans2QueryPathInformation
,Trans2SetFileInformation
,TransCallNamedPipe
,TransPeekNamedPipe
,TransTransactNamedPipe
,TransWaitNamedPipe
public abstract class SmbComTransaction extends ServerMessageBlock implements Enumeration<SmbComTransaction>
-
-
フィールドの概要
-
クラスから継承されたフィールド 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
-
-
コンストラクタの概要
コンストラクタ 修飾子 コンストラクタ 説明 protected
SmbComTransaction(Configuration config, byte command, byte subCommand)
-
メソッドの概要
すべてのメソッド インスタンス・メソッド abstractメソッド concreteメソッド 修飾子とタイプ メソッド 説明 int
getPadding()
byte
getSubCommand()
boolean
hasMoreElements()
SmbComTransaction
nextElement()
protected int
readBytesWireFormat(byte[] buffer, int bufferIndex)
protected abstract int
readDataWireFormat(byte[] buffer, int bufferIndex, int len)
protected abstract int
readParametersWireFormat(byte[] buffer, int bufferIndex, int len)
protected int
readParameterWordsWireFormat(byte[] buffer, int bufferIndex)
protected abstract int
readSetupWireFormat(byte[] buffer, int bufferIndex, int len)
byte[]
releaseBuffer()
void
reset()
protected void
reset(int key, String lastName)
void
setBuffer(byte[] buffer)
void
setMaxBufferSize(int maxBufferSize)
void
setMaxDataCount(int maxDataCount)
void
setSubCommand(byte subCommand)
String
toString()
protected int
writeBytesWireFormat(byte[] dst, int dstIndex)
protected abstract int
writeDataWireFormat(byte[] dst, int dstIndex)
protected abstract int
writeParametersWireFormat(byte[] dst, int dstIndex)
protected int
writeParameterWordsWireFormat(byte[] dst, int dstIndex)
protected abstract int
writeSetupWireFormat(byte[] dst, int dstIndex)
-
クラスから継承されたメソッド jcifs.internal.smb1.ServerMessageBlock
addFlags2, allowChain, clearReceived, createCancel, decode, 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, isForceUnicode, 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
-
インタフェースから継承されたメソッド java.util.Enumeration
asIterator
-
-
-
-
フィールドの詳細
-
TRANS2_FIND_FIRST2
public static final byte TRANS2_FIND_FIRST2
- 関連項目:
- 定数フィールド値
-
TRANS2_FIND_NEXT2
public static final byte TRANS2_FIND_NEXT2
- 関連項目:
- 定数フィールド値
-
TRANS2_QUERY_FS_INFORMATION
public static final byte TRANS2_QUERY_FS_INFORMATION
- 関連項目:
- 定数フィールド値
-
TRANS2_QUERY_PATH_INFORMATION
public static final byte TRANS2_QUERY_PATH_INFORMATION
- 関連項目:
- 定数フィールド値
-
TRANS2_GET_DFS_REFERRAL
public static final byte TRANS2_GET_DFS_REFERRAL
- 関連項目:
- 定数フィールド値
-
TRANS2_QUERY_FILE_INFORMATION
public static final byte TRANS2_QUERY_FILE_INFORMATION
- 関連項目:
- 定数フィールド値
-
TRANS2_SET_FILE_INFORMATION
public static final byte TRANS2_SET_FILE_INFORMATION
- 関連項目:
- 定数フィールド値
-
NET_SHARE_ENUM
public static final byte NET_SHARE_ENUM
- 関連項目:
- 定数フィールド値
-
NET_SERVER_ENUM2
public static final byte NET_SERVER_ENUM2
- 関連項目:
- 定数フィールド値
-
NET_SERVER_ENUM3
public static final byte NET_SERVER_ENUM3
- 関連項目:
- 定数フィールド値
-
TRANS_PEEK_NAMED_PIPE
public static final byte TRANS_PEEK_NAMED_PIPE
- 関連項目:
- 定数フィールド値
-
TRANS_WAIT_NAMED_PIPE
public static final byte TRANS_WAIT_NAMED_PIPE
- 関連項目:
- 定数フィールド値
-
TRANS_CALL_NAMED_PIPE
public static final byte TRANS_CALL_NAMED_PIPE
- 関連項目:
- 定数フィールド値
-
TRANS_TRANSACT_NAMED_PIPE
public static final byte TRANS_TRANSACT_NAMED_PIPE
- 関連項目:
- 定数フィールド値
-
primarySetupOffset
protected int primarySetupOffset
-
secondaryParameterOffset
protected int secondaryParameterOffset
-
parameterCount
protected int parameterCount
-
parameterOffset
protected int parameterOffset
-
parameterDisplacement
protected int parameterDisplacement
-
dataCount
protected int dataCount
-
dataOffset
protected int dataOffset
-
dataDisplacement
protected int dataDisplacement
-
totalParameterCount
protected int totalParameterCount
-
totalDataCount
protected int totalDataCount
-
maxParameterCount
protected int maxParameterCount
-
maxDataCount
protected int maxDataCount
-
maxSetupCount
protected byte maxSetupCount
-
timeout
protected int timeout
-
setupCount
protected int setupCount
-
name
protected String name
-
maxBufferSize
protected int maxBufferSize
-
-
コンストラクタの詳細
-
SmbComTransaction
protected SmbComTransaction(Configuration config, byte command, byte subCommand)
-
-
メソッドの詳細
-
setMaxBufferSize
public final void setMaxBufferSize(int maxBufferSize)
- パラメータ:
maxBufferSize
- the maxBufferSize to set
-
setMaxDataCount
public final void setMaxDataCount(int maxDataCount)
- パラメータ:
maxDataCount
- the maxDataCount to set
-
setBuffer
public void setBuffer(byte[] buffer)
- パラメータ:
buffer
-
-
releaseBuffer
public byte[] releaseBuffer()
- 戻り値:
- the txn_buf
-
getSubCommand
public final byte getSubCommand()
- 戻り値:
- the subCommand
-
setSubCommand
public final void setSubCommand(byte subCommand)
- パラメータ:
subCommand
- the subCommand to set
-
reset
public void reset()
- 定義:
reset
インタフェース内CommonServerMessageBlock
- 定義:
reset
インタフェース内Response
- オーバーライド:
reset
クラス内ServerMessageBlock
-
reset
protected void reset(int key, String lastName)
-
hasMoreElements
public boolean hasMoreElements()
- 定義:
hasMoreElements
インタフェース内Enumeration<SmbComTransaction>
-
nextElement
public SmbComTransaction nextElement()
- 定義:
nextElement
インタフェース内Enumeration<SmbComTransaction>
-
getPadding
public int getPadding()
- 戻り値:
- padding size
-
writeParameterWordsWireFormat
protected int writeParameterWordsWireFormat(byte[] dst, int dstIndex)
-
writeBytesWireFormat
protected int writeBytesWireFormat(byte[] dst, int dstIndex)
- 定義:
writeBytesWireFormat
クラス内ServerMessageBlock
-
readParameterWordsWireFormat
protected int readParameterWordsWireFormat(byte[] buffer, int bufferIndex)
-
readBytesWireFormat
protected int readBytesWireFormat(byte[] buffer, int bufferIndex)
- 定義:
readBytesWireFormat
クラス内ServerMessageBlock
-
writeSetupWireFormat
protected abstract int writeSetupWireFormat(byte[] dst, int dstIndex)
-
writeParametersWireFormat
protected abstract int writeParametersWireFormat(byte[] dst, int dstIndex)
-
writeDataWireFormat
protected abstract int writeDataWireFormat(byte[] dst, int dstIndex)
-
readSetupWireFormat
protected abstract int readSetupWireFormat(byte[] buffer, int bufferIndex, int len)
-
readParametersWireFormat
protected abstract int readParametersWireFormat(byte[] buffer, int bufferIndex, int len)
-
readDataWireFormat
protected abstract int readDataWireFormat(byte[] buffer, int bufferIndex, int len)
-
toString
public String toString()
- オーバーライド:
toString
クラス内ServerMessageBlock
-
-