Name | Description |
---|---|
SEtherApp (simple module) |
The Ethernet Subscriber Application |
// // 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.PSetherApp; import pubsub_sim.PSetherApp.BasePSApp; // // <b> The Ethernet Subscriber Application </b> // // This subscriber application needed in every subscriber node in a publish // subscribe network. It works just over the MAC layer, and this is why it // is necessary to implement MAC encapsulation. This module extends the // BasePSApp module and adds the necessary functionality. For instance, // it is able only to subscribe to new or existing Information Items, kept in // the Information item table. // // @see BasePSApp // // @author Nikolaos Vastardis // simple SEtherApp extends BasePSApp { parameters: @class(SEtherApp); double subInterval @unit("s") = default(10s); // time of choosing a subscriber to satisfy @display("i=block/app"); }