public override void Serialize(IArchiverInOut archive) { base.Serialize(archive); if (IdlVersionMask != 0) { ParticipantInfoData_version = archive.Inout("ParticipantInfoData_version", ParticipantInfoData_version); } else { ParticipantInfoData_version = 0; } name = archive.Inout("name", name); domain = archive.Inout("domain", domain); id = archive.Inout("id", id); ip = archive.Inout("ip", ip); languageImplementation = archive.Inout("languageImplementation", languageImplementation); opsVersion = archive.Inout("opsVersion", opsVersion); mc_udp_port = archive.Inout("mc_udp_port", mc_udp_port); mc_tcp_port = archive.Inout("mc_tcp_port", mc_tcp_port); _subscribeTopics = (List <TopicInfoData>)archive.InoutSerializableList <TopicInfoData>("subscribeTopics", _subscribeTopics); _publishTopics = (List <TopicInfoData>)archive.InoutSerializableList <TopicInfoData>("publishTopics", _publishTopics); _knownTypes = (List <string>)archive.InoutStringList("knownTypes", _knownTypes); }
public override void Serialize(IArchiverInOut archive) { base.Serialize(archive); name = archive.Inout("name", name); type = archive.Inout("type", type); transport = archive.Inout("transport", transport); address = archive.Inout("address", address); port = archive.Inout("port", port); _keys = (List <string>)archive.InoutStringList("keys", _keys); //archiver->inout(std::string("filters"), filters); }
public override void Serialize(IArchiverInOut archive) { base.Serialize(archive); if (IdlVersionMask != 0) { TopicInfoData_version = archive.Inout("TopicInfoData_version", TopicInfoData_version); } else { TopicInfoData_version = 0; } name = archive.Inout("name", name); type = archive.Inout("type", type); transport = archive.Inout("transport", transport); address = archive.Inout("address", address); port = archive.Inout("port", port); _keys = (List <string>)archive.InoutStringList("keys", _keys); }
public override void Serialize(IArchiverInOut archive) { // NOTE. Keep this in sync with the C++ version, so it in theory is possible to send these as objects. // We need to serialize fields in the same order as C++. //OPSObject::serialize(archiver); base.Serialize(archive); if (IdlVersionMask != 0) { Transport_version = archive.Inout("Transport_version", Transport_version); } else { Transport_version = 0; } //archiver->inout(std::string("channelID"), channelID); channelID = archive.Inout("channelID", channelID); //archiver->inout(std::string("topics"), topics); topics = (List <string>)archive.InoutStringList("topics", topics); }