Ignore:
Timestamp:
Feb 10, 2009, 5:41:47 PM (16 years ago)
Author:
mies
Message:

added MessageData wrapper

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/tidy/Node.cpp

    r2392 r2393  
    178178
    179179LinkID Node::establishLink(const NodeID& nid, const ServiceID& sid,
    180                 const LinkProperties& req, const Message* msg) {
     180                const LinkProperties& req, const DataMessage& msg) {
    181181        return context->getOverlay().establishLink(nid, sid);
    182182}
     
    186186}
    187187
    188 seqnum_t Node::sendMessage(Message* msg, const NodeID& nid,
     188seqnum_t Node::sendMessage(const DataMessage& msg, const NodeID& nid,
    189189                const ServiceID& sid, const LinkProperties& req) {
    190         return context->getOverlay().sendMessage(msg, nid, sid);
    191 }
    192 
    193 seqnum_t Node::sendMessage(Message* msg, const LinkID& lnk) {
    194         return context->getOverlay().sendMessage(msg, lnk);
     190        return context->getOverlay().sendMessage((Message*)msg, nid, sid);
     191}
     192
     193seqnum_t Node::sendMessage(const DataMessage& msg, const LinkID& lnk) {
     194        return context->getOverlay().sendMessage((Message*)msg, lnk);
    195195}
    196196
Note: See TracChangeset for help on using the changeset viewer.