File Applications/i3/I3BaseApp.ned

Contains:

//
// Copyright (C) 2006 Institut fuer Telematik, Universitaet Karlsruhe (TH)
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
//

// Base module for I3 applications.
// @author Antonio Zea
simple I3BaseApp
    parameters:
        clientPort,    // client port
        serverPort,    // server port
        triggerRefreshTime,    // interval for trigger refreshing
        sampleRefreshTime,    // interfal for trigger sample refreshing
        bootstrapTime,    // time to wait for overlay to bootstrap
        initTime,    // time to wait for I3 to bootstrap
        cacheSize,    // size of cache of stored id/server references
        idStoreTime,    // expiration time of stored id/server references
        serverTimeout;    // time to wait before server is marked as unavailable
    gates:
        in: from_udp;    // gate from the UDP layer
        in: from_app;    // gate from the application
        in: from_overlay;    // gate from the overlay
        out: to_udp;    // gate to the UDP layer
        out: to_app;    // gate to the application
        out: to_overlay;    // gate to the overlay

endsimple