19 #include <signaldata/SumaImpl.hpp>
22 printSUB_CREATE_REQ(FILE * output,
const Uint32 * theData,
23 Uint32 len, Uint16 receiverBlockNo) {
25 fprintf(output,
" senderRef: %x\n", sig->senderRef);
26 fprintf(output,
" senderData: %x\n", sig->senderData);
27 fprintf(output,
" subscriptionId: %x\n", sig->subscriptionId);
28 fprintf(output,
" subscriptionKey: %x\n", sig->subscriptionKey);
29 fprintf(output,
" subscriptionType: %x\n", sig->subscriptionType);
30 fprintf(output,
" tableId: %x\n", sig->tableId);
31 fprintf(output,
" schemaTransId: %x\n", sig->schemaTransId);
36 printSUB_CREATE_CONF(FILE * output,
const Uint32 * theData,
37 Uint32 len, Uint16 receiverBlockNo) {
39 fprintf(output,
" senderData: %x\n", sig->senderData);
44 printSUB_CREATE_REF(FILE * output,
const Uint32 * theData,
45 Uint32 len, Uint16 receiverBlockNo) {
47 fprintf(output,
" senderData: %x\n", sig->senderData);
52 printSUB_REMOVE_REQ(FILE * output,
const Uint32 * theData,
53 Uint32 len, Uint16 receiverBlockNo)
56 fprintf(output,
" subscriptionId: %x\n", sig->subscriptionId);
57 fprintf(output,
" subscriptionKey: %x\n", sig->subscriptionKey);
62 printSUB_REMOVE_CONF(FILE * output,
const Uint32 * theData,
63 Uint32 len, Uint16 receiverBlockNo)
66 fprintf(output,
" subscriptionId: %x\n", sig->subscriptionId);
67 fprintf(output,
" subscriptionKey: %x\n", sig->subscriptionKey);
68 fprintf(output,
" senderData: %x\n", sig->senderData);
73 printSUB_REMOVE_REF(FILE * output,
const Uint32 * theData,
74 Uint32 len, Uint16 receiverBlockNo)
77 fprintf(output,
" subscriptionId: %x\n", sig->subscriptionId);
78 fprintf(output,
" subscriptionKey: %x\n", sig->subscriptionKey);
79 fprintf(output,
" senderData: %x\n", sig->senderData);
80 fprintf(output,
" errorCode: %x\n", sig->errorCode);
85 printSUB_START_REQ(FILE * output,
const Uint32 * theData,
86 Uint32 len, Uint16 receiverBlockNo) {
88 fprintf(output,
" subscriptionId: %x\n", sig->subscriptionId);
89 fprintf(output,
" subscriptionKey: %x\n", sig->subscriptionKey);
90 fprintf(output,
" senderData: %x\n", sig->senderData);
95 printSUB_START_REF(FILE * output,
const Uint32 * theData,
96 Uint32 len, Uint16 receiverBlockNo) {
98 fprintf(output,
" subscriptionId: %x\n", sig->subscriptionId);
99 fprintf(output,
" subscriptionKey: %x\n", sig->subscriptionKey);
100 fprintf(output,
" startPart: %x\n", sig->part);
101 fprintf(output,
" senderData: %x\n", sig->senderData);
102 fprintf(output,
" errorCode: %x\n", sig->errorCode);
107 printSUB_START_CONF(FILE * output,
const Uint32 * theData,
108 Uint32 len, Uint16 receiverBlockNo) {
110 fprintf(output,
" subscriptionId: %x\n", sig->subscriptionId);
111 fprintf(output,
" subscriptionKey: %x\n", sig->subscriptionKey);
112 fprintf(output,
" startPart: %x\n", sig->part);
113 fprintf(output,
" senderData: %x\n", sig->senderData);
118 printSUB_STOP_REQ(FILE * output,
const Uint32 * theData,
119 Uint32 len, Uint16 receiverBlockNo) {
121 fprintf(output,
" subscriptionId: %x\n", sig->subscriptionId);
122 fprintf(output,
" subscriptionKey: %x\n", sig->subscriptionKey);
123 fprintf(output,
" senderData: %x\n", sig->senderData);
128 printSUB_STOP_REF(FILE * output,
const Uint32 * theData,
129 Uint32 len, Uint16 receiverBlockNo) {
131 fprintf(output,
" subscriptionId: %x\n", sig->subscriptionId);
132 fprintf(output,
" subscriptionKey: %x\n", sig->subscriptionKey);
133 fprintf(output,
" senderData: %x\n", sig->senderData);
134 fprintf(output,
" errorCode: %x\n", sig->errorCode);
139 printSUB_STOP_CONF(FILE * output,
const Uint32 * theData,
140 Uint32 len, Uint16 receiverBlockNo) {
142 fprintf(output,
" subscriptionId: %x\n", sig->subscriptionId);
143 fprintf(output,
" subscriptionKey: %x\n", sig->subscriptionKey);
144 fprintf(output,
" senderData: %x\n", sig->senderData);
149 printSUB_SYNC_REQ(FILE * output,
const Uint32 * theData,
150 Uint32 len, Uint16 receiverBlockNo) {
152 fprintf(output,
" subscriptionId: %x\n", sig->subscriptionId);
153 fprintf(output,
" subscriptionKey: %x\n", sig->subscriptionKey);
154 fprintf(output,
" syncPart: %x\n", sig->part);
159 printSUB_SYNC_REF(FILE * output,
const Uint32 * theData,
160 Uint32 len, Uint16 receiverBlockNo) {
162 fprintf(output,
" senderData: %x\n", sig->senderData);
163 fprintf(output,
" errorCode: %x\n", sig->errorCode);
168 printSUB_SYNC_CONF(FILE * output,
const Uint32 * theData,
169 Uint32 len, Uint16 receiverBlockNo) {
171 fprintf(output,
" senderData: %x\n", sig->senderData);
176 printSUB_TABLE_DATA(FILE * output,
const Uint32 * theData,
177 Uint32 len, Uint16 receiverBlockNo) {
179 fprintf(output,
" senderData: %x\n", sig->senderData);
180 fprintf(output,
" gci_hi: %x\n", sig->gci_hi);
181 fprintf(output,
" gci_lo: %x\n", sig->gci_lo);
182 fprintf(output,
" tableId: %x\n", sig->tableId);
183 fprintf(output,
" operation: %x\n",
184 SubTableData::getOperation(sig->requestInfo));
185 if (len == SubTableData::SignalLengthWithTransId)
187 fprintf(output,
" TransId : %x %x\n",
188 sig->transId1, sig->transId2);
194 printSUB_SYNC_CONTINUE_REQ(FILE * output,
const Uint32 * theData,
195 Uint32 len, Uint16 receiverBlockNo) {
197 fprintf(output,
" subscriberData: %x\n", sig->subscriberData);
198 fprintf(output,
" noOfRowsSent: %x\n", sig->noOfRowsSent);
203 printSUB_SYNC_CONTINUE_REF(FILE * output,
const Uint32 * theData,
204 Uint32 len, Uint16 receiverBlockNo) {
206 fprintf(output,
" subscriptionId: %x\n", sig->subscriptionId);
207 fprintf(output,
" subscriptionKey: %x\n", sig->subscriptionKey);
212 printSUB_SYNC_CONTINUE_CONF(FILE * output,
const Uint32 * theData,
213 Uint32 len, Uint16 receiverBlockNo) {
215 fprintf(output,
" subscriptionId: %x\n", sig->subscriptionId);
216 fprintf(output,
" subscriptionKey: %x\n", sig->subscriptionKey);
221 printSUB_GCP_COMPLETE_REP(FILE * output,
const Uint32 * theData,
222 Uint32 len, Uint16 receiverBlockNo) {
224 fprintf(output,
" gci_hi: %x gci_lo: %x\n", sig->gci_hi, sig->gci_lo);