public class TCaplusPkgHead extends Object implements TdrCompositeType
| Modifier and Type | Field and Description |
|---|---|
long |
AsynID |
static int |
BASEVERSION |
int |
BodyLen |
int |
Cmd |
static int |
CURRVERSION |
int |
Flags |
int |
HeadLen |
TCaplusKeySet |
KeyInfo |
short |
Magic |
byte[] |
PerfTest |
int |
PerfTestLen |
byte |
ReqBodyCompressType |
byte |
RespBodyCompressType |
int |
Result |
TCaplusRouterInfo |
RouterInfo |
int |
Seq |
byte[] |
SplitTableKeyBuff |
int |
SplitTableKeyBuffLen |
int |
SubCmd |
int |
TdrMetaVersion |
byte[] |
UserBuff |
int |
UserBuffLen |
short |
Version |
static int |
VERSION_Flags |
static int |
VERSION_PerfTest |
static int |
VERSION_PerfTestLen |
static int |
VERSION_ReqBodyCompressType |
static int |
VERSION_RespBodyCompressType |
static int |
VERSION_Result |
static int |
VERSION_SplitTableKeyBuff |
static int |
VERSION_SplitTableKeyBuffLen |
static int |
VERSION_SubCmd |
static int |
VERSION_TdrMetaVersion |
| Constructor and Description |
|---|
TCaplusPkgHead() |
| Modifier and Type | Method and Description |
|---|---|
void |
construct() |
long |
getMaxNetSize() |
int |
getSizeInfo(byte[] buffer,
int size) |
int |
getSizeInfo(TdrReadBuf srcBuf) |
int |
pack(byte[] buffer,
int size,
int cutVer) |
void |
pack(TdrWriteBuf destBuf,
int cutVer) |
int |
unpack(byte[] buffer,
int size,
int cutVer) |
void |
unpack(TdrReadBuf srcBuf,
int cutVer) |
String |
visualize(int indent,
char separator) |
void |
visualize(TdrVisualBuf destBuf,
int indent,
char separator) |
public short Magic
public short Version
public int HeadLen
public int BodyLen
public long AsynID
public int Seq
public int Cmd
public int SubCmd
public int Flags
public TCaplusRouterInfo RouterInfo
public int UserBuffLen
public byte[] UserBuff
public int PerfTestLen
public byte[] PerfTest
public TCaplusKeySet KeyInfo
public int TdrMetaVersion
public byte ReqBodyCompressType
public byte RespBodyCompressType
public int Result
public int SplitTableKeyBuffLen
public byte[] SplitTableKeyBuff
public static final int BASEVERSION
public static final int CURRVERSION
public static final int VERSION_SubCmd
public static final int VERSION_Flags
public static final int VERSION_PerfTestLen
public static final int VERSION_PerfTest
public static final int VERSION_TdrMetaVersion
public static final int VERSION_ReqBodyCompressType
public static final int VERSION_RespBodyCompressType
public static final int VERSION_Result
public static final int VERSION_SplitTableKeyBuffLen
public static final int VERSION_SplitTableKeyBuff
public void construct()
throws TdrException
construct in interface TdrCompositeTypeTdrExceptionpublic int pack(byte[] buffer,
int size,
int cutVer)
throws TdrException
pack in interface PackInterfaceTdrExceptionpublic void pack(TdrWriteBuf destBuf, int cutVer) throws TdrException
pack in interface TdrCompositeTypeTdrExceptionpublic long getMaxNetSize()
throws TdrException
getMaxNetSize in interface PackInterfaceTdrExceptionpublic int unpack(byte[] buffer,
int size,
int cutVer)
throws TdrException
unpack in interface UnpackInterfaceTdrExceptionpublic void unpack(TdrReadBuf srcBuf, int cutVer) throws TdrException
unpack in interface TdrCompositeTypeTdrExceptionpublic String visualize(int indent, char separator) throws TdrException
visualize in interface TdrCompositeTypeTdrExceptionpublic void visualize(TdrVisualBuf destBuf, int indent, char separator) throws TdrException
visualize in interface TdrCompositeTypeTdrExceptionpublic int getSizeInfo(byte[] buffer,
int size)
throws TdrException
getSizeInfo in interface TdrCompositeTypeTdrExceptionpublic int getSizeInfo(TdrReadBuf srcBuf) throws TdrException
TdrExceptionCopyright © 2026. All rights reserved.