subRequest.setCorrelationId(correlationId);
subRequest.setNormalizationScheme(handle.getRequestedSpecification().getNormalizationRuleSetId());
// REVIEW kirk 2012-08-15 -- The next line is SOOOOO UGLLYYYYY!!!!!
subRequest.setSubscriptionId(handle.getRequestedSpecification().getIdentifiers().getExternalIds().iterator().next());
_activeSubscriptionRequests.put(correlationId, handle);
_messageSender.send(CogdaLiveDataSubscriptionRequestBuilder.buildMessageStatic(new FudgeSerializer(getFudgeContext()), subRequest));
// Same thing in Cogda.
break;
case SNAPSHOT:
CogdaLiveDataSnapshotRequestMessage snapshotRequest = new CogdaLiveDataSnapshotRequestMessage();
snapshotRequest.setCorrelationId(correlationId);
snapshotRequest.setNormalizationScheme(handle.getRequestedSpecification().getNormalizationRuleSetId());
// REVIEW kirk 2012-08-15 -- The next line is SOOOOO UGLLYYYYY!!!!!
snapshotRequest.setSubscriptionId(handle.getRequestedSpecification().getIdentifiers().getExternalIds().iterator().next());
_activeSubscriptionRequests.put(correlationId, handle);
_messageSender.send(CogdaLiveDataSnapshotRequestBuilder.buildMessageStatic(new FudgeSerializer(getFudgeContext()), snapshotRequest));
break;
}
}
}