1 18 19 package sync4j.framework.engine; 20 21 import sync4j.framework.core.*; 22 23 30 public interface MessageSizeCalculator { 31 32 38 public long getMsgSizeOverhead(); 39 41 47 public long getSyncMLOverhead(); 48 49 56 public long getSize(SyncML syncML); 57 58 60 67 public long getSize(SyncHdr syncHdr); 68 69 74 public long getRespURIOverhead(); 75 76 78 84 public long getSyncBodyOverhead(); 85 86 93 public long getSize(SyncBody syncBody); 94 95 97 102 public long getSize(VerDTD verDTD); 103 104 110 public long getSize(VerProto verProto); 111 112 114 119 public long getSize(SessionID sessionID); 120 121 123 127 public long getSize(Target target); 128 129 131 135 public long getSize(Source source); 136 137 139 143 public long getSize(Cred cred); 144 145 147 152 public long getSize(Meta meta); 153 154 156 161 public long getSize(Anchor anchor); 162 163 169 public long getSize(EMI emi); 170 171 177 public long getSize(NextNonce nextNonce); 178 179 185 public long getSize(Mem mem); 186 187 192 public long getSize(AbstractCommand command); 193 194 199 public long getCommandSize(AbstractCommand command); 200 201 206 public long getSize(CmdID cmdID); 207 208 214 public long getSize(Add add); 215 216 221 public long getSize(Item item); 222 223 229 public long getSize(ComplexData complexData); 230 231 237 public long getSize(Data data); 238 239 245 public long getSize(DevInfData devInfData); 246 247 253 public long getSize(DevInf devInf); 254 255 261 public long getSize(DataStore dataStore); 262 263 269 public long getSize(ContentTypeInfo contentTypeInfo); 270 271 276 public long getSize(SourceRef sourceRef); 277 278 284 public long getSize(DSMem dsMem); 285 286 292 public long getSize(SyncCap syncCap); 293 294 300 public long getSize(SyncType syncType); 301 302 304 309 public long getSize(CTCap ctCap); 310 311 313 318 public long getSize(CTTypeSupported ctTypeSupported); 319 320 326 public long getSize(CTPropParam ctPropParam); 327 328 334 public long getSize(ContentTypeParameter ctParameter); 335 336 338 343 public long getSize(Ext ext); 344 345 347 352 public long getSize(Alert alert); 353 354 356 361 public long getSize(Atomic atomic); 362 363 365 370 public long getSize(Copy copy); 371 372 378 public long getSize(Delete delete); 379 380 382 387 public long getSize(Exec exec); 388 389 391 396 public long getSize(Get get); 397 398 400 405 public long getSize(Map map); 406 407 409 414 public long getSize(MapItem mapItem); 415 416 418 423 public long getSize(Put put); 424 425 430 public long getSize(DevInfItem devInfItem); 431 432 438 public long getSize(Replace replace); 439 440 446 public long getSize(Results results); 447 448 453 public long getSize(TargetRef targetRef); 454 455 461 public long getSize(Search search); 462 463 469 public long getSize(Sequence sequence); 470 471 477 public long getSize(Status status); 478 479 481 486 public long getSize(Chal chal); 487 488 490 495 public long getSize(Sync sync); 496 497 499 502 public long getSize(ItemizedCommand itemCmd); 503 504 506 511 public long getSize(ModificationCommand modCmd); 512 513 515 520 public long getSize(ResponseCommand responseCmd); 521 522 } 523 | Popular Tags |