NED File src/IITable/IITable.ned

Name Description
IITable (simple module)

The Information Item Table

Source code:

//
// Copyright (C) 2011 Nikolaos Vastardis; University of Essex, Colchester
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with this program; if not, see <http://www.gnu.org/licenses/>.
//

package pubsub_sim.IITable;

//
// <b> The Information Item Table </b>
//
// Stores the Information item table. It is used instead of the rendezvous
// module of publish subscribe schemes such as Blackadder. It allows the
// publisher and subscriber nodes to access it and input their identifiers
// to the registered Information Item.  
//
// Although the functionality of this module is accessed via member functions 
// of the C++ module class, this module has also gates. These gates are used for
// communication with the Topology Maneger module, which should be informed for
// any new publications and subscription, in order to calculate the new FIDs. 
//
// @see SEtherApp, PEtherApp, TMInterface, Forwarder
//
// @author: Nikolaos Vastardis
//
simple IITable
{
    parameters:
        @display("i=block/table");
    gates:
        input IIin @labels(TM_msg);
        output IIout @labels(TM_msg); 
        
}