void AppClient::onPostMsg( const PostMsg& postMsg, const OmmProviderEvent& event ) |
{ |
if (postMsg.getSolicitAck()) |
{ |
AckMsg ackMsg; |
ackMsg.domainType(postMsg.getDomainType()); |
ackMsg.ackId(postMsg.getPostId()); |
if (postMsg.hasSeqNum()) |
{ |
ackMsg.seqNum(postMsg.getSeqNum()); |
} |
event.getProvider().submit(ackMsg, event.getHandle()); |
} |
} |