Mailing list archive (omnetpp-l at omnetpp.org)
[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
Re: [omnetpp] Customized channels definition and use
Hi Michele,
> Any ways to specify the customized channel in the ned file(s) as it
> is supposed to be?
That would be indeed the correct solution, and it has been implemented in
the upcoming 4.0 release. Until then, well, there're only
ChannelInstaller-like solutions...
Regards,
Andras
> -----Original Message-----
> From: omnetpp-l-bounces at xxx [mailto:omnetpp-l-bounces at xxx]
> On Behalf Of Michele Caramello (mcaramel)
> Sent: Thursday, July 17, 2008 4:32 AM
> To: OMNeT++ Discussion List
> Subject: [omnetpp] Customized channels definition and use
>
> Hi all
> Let's suppose I want to create a customized channel such that it
> performs some non standard tasks.
>
> I checked on INET and I found a customized channel,
> ThruputMeteringChannel, derived from the cBasicChannel class as it is
> supposed to be (I think...)
> Problem with that is the way the channel is indeed put to use. A
> top-level simple module, ChannelInstaller, is created and its duty is to
> run over the whole list of channels in the system and (eventually,
> because some filtering could be applied) substitute the standard channel
> definition with
> ThruputMeteringChannel.
> Provided that it works, and of course it does, and that I want to
> substitute just a very small fraction of the channels, isn't there an
> easier way to accomplish this? Any ways to specify the customized
> channel in the ned file(s) as it is supposed to be?
>
> Thanks a lot,
> Regards,
> Michele
> _______________________________________________
> OMNeT++ Mailing List
> options: http://lists.omnetpp.org/mailman/listinfo/omnetpp-l
> archive: http://www.omnetpp.org/listarchive/index.php
_______________________________________________
OMNeT++ Mailing List
options: http://lists.omnetpp.org/mailman/listinfo/omnetpp-l
archive: http://www.omnetpp.org/listarchive/index.php
Home |
Main Index |
Thread Index