GithubHelp home page GithubHelp logo

lind-fuse-fs's Introduction

Introduction:
--------------
The shim_files folder contains all the shim files that are necessary.
You can create shims by inheriting from BaseShim and using ShimStack.
This file contains an example of what a simple should be like. It 
includes the shim HelloWorldShim in helloworldshim.repy and
HelloWorldDeciderShim in helloworlddecidershim.repy. The HelloWorldShim
basically appends the tag 'HelloWorldSendTAG:::some_num@' when it does
a socket.send() on any tcp connection and appends the tag 
'HelloWorldRecvTAG:::some_num' when it does a socket.recv() on any tcp
connection.

The HelloWorldDeciderShim appends an extra layer of HelloWorldShim at 
the top of its stack. This displays how a decider shim can be used to
push new shims on top of its stack. You can similarly pop() shims from
the top of its stack.

The application sample_helloworld_shim_app.repy is an example of how you
can write an application that uses shims. It uses both the 
HelloWorldDeciderShim and HelloWorldShim. To run it please execute the
command:

  $> python repy.py restrictions.default dylink.repy sample_helloworld_shim_app.repy




Setup:
-------
In order to run the sample application 'sample_helloworld_shim_app.repy'
in this directory: 

1. Create a new folder
2. Run preparetest.py in the new folder to copy over all the repyV2
   library files.
3. Copy all the files in this directory in the new folder.
4. You are now ready to run sample_helloworld_shim_app.repy !


Files Included:
---------------
1. baseshim.repy
2. helloworlddecidershim.repy
3. helloworldshim.repy
4. restrictions.default
5. sample_helloworld_shim_app.repy
6. shim_exceptions.repy
7. shimstackinterface.repy
8. shim_stack.repy
9. shim_wrapper_lib.repy
10. This README file. 

lind-fuse-fs's People

Contributors

abrarsheikh avatar

Watchers

James Cloos avatar  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.