NSIS-ka
A free C++ implementation of NSIS protocols

Changeset 4507


Ignore:
Timestamp:
Oct 2, 2009, 12:47:36 AM (8 years ago)
Author:
stud-dettling
Message:
  • Fast hack for AHO phase2 in case MN is sender and QNI
File:
1 edited

Legend:

Unmodified
Added
Removed
  • qos-nslp/branches/20090610-qos-nslp-aho/src/QoS_StateModule.cpp

    r4506 r4507  
    237237        DLog(state_manager::modname, "process_tp_recv_est_msg() - " << color[blue] << "received " << known_pdu->get_name() << color[off]);
    238238
    239 /*
    240239        if (known_pdu->is_reserve()) {
    241                 DLog(state_manager::modname, "Received RESERVE message by the EST-MRM.");
     240                DLog(state_manager::modname, color[blue] << "Received RESERVE message by the EST-MRM." << color[off]);
     241
     242                mri_pathcoupled pc_mri = rcvd_mri->get_mri_pc();
     243
     244                // TODO: have direction in mind!
     245                // send message with PC-MRM
     246                SignalingMsg* sigmsg = new SignalingMsg();
     247                sigmsg->set_msg(known_pdu);
     248                sigmsg->set_sid(*sid);
     249                sigmsg->set_sig_mri(&pc_mri);
     250                sigmsg->set_downstream(pc_mri.get_downstream());
     251                sigmsg->send_or_delete();
     252
    242253                return error_nothing_to_do;
    243254        }
    244255
    245256        if (known_pdu->is_response()) {
    246                 DLog(state_manager::modname, "Received RESPONSE message by the EST-MRM.");
     257                DLog(state_manager::modname, color[blue] << "Received RESPONSE message by the EST-MRM." << color[off]);
    247258                return error_nothing_to_do;
    248259        }
    249260
    250261        if (known_pdu->is_query()) {
    251                 DLog(state_manager::modname, "Received QUERY message by the EST-MRM.");
     262                DLog(state_manager::modname, color[blue] << "Received QUERY message by the EST-MRM." << color[off]);
    252263                return error_nothing_to_do;
    253264        }
    254265
    255266        if (known_pdu->is_notify()) {
    256                 DLog(state_manager::modname, "Received NOTIFY message by the EST-MRM.");
     267                DLog(state_manager::modname, color[blue] << "Received NOTIFY message by the EST-MRM." << color[off]);
    257268                return error_nothing_to_do;
    258269        }
    259 */
    260 
    261 //      return state_manager::error_wrong_pdu_type;
     270
    262271        return state_manager::error_nothing_to_do;
    263272}
Note: See TracChangeset for help on using the changeset viewer.