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

Changeset 2480


Ignore:
Timestamp:
Mar 15, 2007, 7:22:26 PM (11 years ago)
Author:
hiwi-laier
Message:

Link TestConsole? to the build instead of SignalingAppl?.

Location:
qos-nslp/branches/laier-update/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • qos-nslp/branches/laier-update/src/Makefile

    r1681 r2480  
    5757                reservemsg.o responsemsg.o querymsg.o notifymsg.o packet_classifier.o qos_nslp_contextmap.o \
    5858                info_spec.o nslp_object.o nslp_pdu.o sessionid.o nslp_context.o aggregate.o \
    59                 rmf.o QoS_StateModule.o SignalingAppl.o
     59                rmf.o QoS_StateModule.o SignalingAppl.o TestConsole.o
    6060
    6161ifdef QT_DIR
  • qos-nslp/branches/laier-update/src/TestConsole.cpp

    r2479 r2480  
    468468                }
    469469                out_buf = "# SID = 0x";
    470                 sprintf(u128_buf, "%x%x%x%x", sid.w1, sid.w2, sid.w3, sid.w4);
     470                sprintf(u128_buf, "%x%x%x%x", (unsigned int)sid.w1,
     471                    (unsigned int)sid.w2, (unsigned int)sid.w3, (unsigned int)sid.w4);
    471472                out_buf += u128_buf;
    472473                out_buf += "\n";
  • qos-nslp/branches/laier-update/src/main.cpp

    r2476 r2480  
    22
    33#include "ProcessingModule.h"
     4#include "TestConsole.h"
    45#include "ntlpstarter.h"
    56#include "qos_nslp.h"
     
    187188    sleep(4);
    188189
    189     SignalingApplParam sig_appl_par(4);
    190     ThreadStarter<SignalingAppl,SignalingApplParam> appl_thread(1, sig_appl_par);
     190//    SignalingApplParam sig_appl_par(4);
     191//    ThreadStarter<SignalingAppl,SignalingApplParam> appl_thread(1, sig_appl_par);
     192        TestConsoleParam testcon_par(4, "localhost", "30023");
     193        ThreadStarter<TestConsole, TestConsoleParam> appl_thread(1, testcon_par);
    191194
    192195    ProcessingModuleParam sim_cl_par(ThreadParam::default_sleep_time);
Note: See TracChangeset for help on using the changeset viewer.