Coder Social home page Coder Social logo

llcrlib's Introduction

Overview

The Low-Level(ANSI C) Common Distributed Application Protocol(CDAP) and Resource Information Base (RIB) library, or llcrlib, provides (or better, should provide) a basic implementation of the CDAP/RIB library in ANSI C.

Current version

The current status is in its very initial design, draft-0, (i.e. RFC). In short, it is a bunch of (buggy) header files to discuss the design and goals of the libraries.

Current status (draft-0)

  • CDAP connection stablishment missing, and in particular CACEP necessary input (e.g. authentication) => requires work in CDAP sub-lib.
  • RIB association to an AE is not yet clear => requires work in CDAP sub-lib.
  • Basic built-in types are very incomplete.
  • 'Multiple inheritance', or multiple objects with different class_names in the same position of the tree is tricky and requires further study. However APIs support it.
  • rib/rib_remote.h operations are incomplete, yet basic ``
  • Scope is not drafted yet
  • Filter is intentionally not implemented.
  • Adaptation to the terminology of the spec. Try to be as close as possible
  • Interceptor(s) prototype needs to be drafted
  • Necessary built-in 'register to events' functionality not yet drafted
  • Revise and simplify APIs
  • Many many other things...

Architecture

            xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
            x                                                                         x
          | x  +-----------+     +-----------+                          |             x
          | x  |           |     |           +-------------------------->             x
          | x  |           | (b) |           |               (d)        |             x
     RINA <----+           +----->           <--------------------------+ Application x
Operating | x  |           |     |           |                          | logic       x
   system |    |           |     |           |    ..................    |             x
     APIs |(a) |   CDAP    |     |    RIB    |    .                .    |             x
          |    |  library  |     |  library  +----> * Higher level +---->             x
          | x  |           | (c) |           |    .   frameworks   .    |             x
          +---->           <-----+           |(d1).                .(d2)|             x
          | x  |           |     |           |    . * Other lang   .    |             x
          | x  |           |     |           <----+   bindings     <----+             x
          | x  |           |     |           |    .                .    |             x
          | x  +-----------+     +-----^-----+    ..................    |             x
            x                          |                                |             x
            x                          | (o1)                                         x
            x                   ...............                                       x
            x                   . Interceptor .                                       x
            x                   ...............                                       x
            x                                                                         x
            xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

     ....  Optional modules
     ----  Libraries
     +-->  APIs
     xxxx  OS application boundary 

The llcr library consists of two main sub-libraries that can be used together or separately:

  • llcr-cdap: CDAP library. Provides basic CDAP encoding/decoding of messages. The library expects a RIB provider to link against, see cdap/rib_provider.h.
  • llcr-rib: RIB library. This library is meant to provide an easy to use (hopefully) API to manage CDAP RIBs. This library expects a cdap provider behind, see rib/cdap_provider.h for more details.

When using the llcr-rib, one can build higher level framworks or other language bindings, to simplify the application logic.

The Interceptor(s) are modules that can intercept incoming remote operations before being passed to the application - (d) or (d1) depending on the approach-. Some examples of interceptors can be ACLs or debug loggers.

Copyright

TODO

PRISTINE FP7

llcrlib's People

Contributors

salvestrini avatar

Watchers

Jason Barron avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.