public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) { DiscoveryEvent info = (DiscoveryEvent)o; int rc = base.TightMarshal1(wireFormat, o, bs); rc += TightMarshalString1(info.ServiceName, bs); rc += TightMarshalString1(info.BrokerName, bs); return rc + 0; }