Example #1
0
BINLINE void BIO::serializeObjS(PSerializable& pObjS) {
    if (is_loading) {
		internalLoadObjS(pObjS);
    }
    else {
		BTYPEID typeId = 0;
		BSERIALIZER ser = NULL;

		if (pObjS) {
			typeId = pObjS->BSerializable_getTypeId();
			ser = registry->getSerializer(typeId);
			internalStoreObjS(pObjS, false, ser, typeId);
		}
		else {
			internalStoreObjS(PSerializable(), false, NULL, 0);
		}
    }
}
Example #2
0
 bool internalIsReloginException(BException e) {
   BTYPEID typeId = requestObject->BSerializable_getTypeId();
   return transport->internalIsReloginException(e, typeId);
 }