/**
* @param key
* @param values
*/
private void sendValueUpdate(LiveDataSpecification key, FudgeMsg values) {
CogdaLiveDataUpdateMessage message = new CogdaLiveDataUpdateMessage();
// REVIEW kirk 2012-07-23 -- This is a terrible terrible idea performance wise, this next line.
message.setSubscriptionId(key.getIdentifiers().getExternalIds().iterator().next());
message.setNormalizationScheme(key.getNormalizationRuleSetId());
message.setValues(values);
FudgeMsg msg = CogdaLiveDataUpdateBuilder.buildMessageStatic(new FudgeSerializer(getFudgeContext()), message);
try {
getMessageSender().send(msg);
} catch (Exception e) {
s_logger.info("Exception thrown; assuming socket closed and tearing down client.");