When we receive a request for bond information, our message processor is much simpler than it was for our CDS. Once someone posts a message to the effect that they need bond info, we receive BondRequestMessage with the information we need filled in. From there, we calculate the remaining information, as shown here. Again, this is a black box by design, so we don't concern ourselves with the technicalities underlying how a bond; is a bond, we let our quant library do what it does best:
public bool ProcessBondsMessage(BondsRequestMessage msg)
{
Bonds b = new Bonds();
return b.testYield(this);
}