close Warning: BrowserModule failed with ConfigurationError: Look in the Trac log for more information.

Changes between Version 33 and Version 34 of OverSimDevelop


Ignore:
Timestamp:
Sep 28, 2009, 11:17:47 AM (15 years ago)
Author:
Ingmar Baumgart
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OverSimDevelop

    v33 v34  
    196196In this section, we'll implement our overlay and application. But first, let's do a introduction about some of the important variable types used in !OverSim.
    197197
    198 * BaseOverlay: Template overlay module class. All overlay modules should derive from it.[[BR]]
    199 * BaseApp: Template application module class. All application modules should derive from it.[[BR]]
    200 * OverlayKey: Class to describe overlay keys. Internally it stores the key as an bit array. [[BR]]
     198  * BaseOverlay: Template overlay module class. All overlay modules should derive from it.[[BR]]
     199  * BaseApp: Template application module class. All application modules should derive from it.[[BR]]
     200  * OverlayKey: Class to describe overlay keys. Internally it stores the key as an bit array. [[BR]]
    201201                    Its value can be set in different ways when it's being initialized:[[BR]]
    202202{{{
     
    210210                    OverlayKey operations include equality (==), order (<, >) and range (isBetween(key1, key2)).[[BR]]
    211211
    212 * IPvXAddress:        Generic IP address, can contain either an IPv4 address (IPAddress) or an IPv6 address (IPv6Address).[[BR]]
    213 * TransportAddress:   A structure containing bot an IPvXAddress (field "ip"), and a port (field "port").[[BR]]
    214 * NodeHandle:         A child class of TransportAddress, additionaly contains an OverlayKey (field "key"). In overlay and application modules, the variable {{{thisNode}}} contains the NodeHandle value representing the host. However, in application modules the {{{key}}} field may not be set.[[BR]]
     212  * IPvXAddress:        Generic IP address, can contain either an IPv4 address (IPAddress) or an IPv6 address (IPv6Address).[[BR]]
     213  * TransportAddress:   A structure containing bot an IPvXAddress (field "ip"), and a port (field "port").[[BR]]
     214  * NodeHandle:         A child class of TransportAddress, additionaly contains an OverlayKey (field "key"). In overlay and application modules, the variable {{{thisNode}}} contains the NodeHandle value representing the host. However, in application modules the {{{key}}} field may not be set.[[BR]]
    215215
    216216Now, let's continue with the implementation.