Giter Club home page Giter Club logo

exon's Introduction

Compile:  
--------
javac -sourcepath src -classpath classes: -d target/classes src/main/java/haslab/eo/*.java src/main/java/haslab/eo/events/*.java src/main/java/haslab/eo/msgs/*.java src/main/java/io/github/pssalmeida/slidingbitmap/*.java src/test/java/haslab/eo/*.java


//comType=1: one-way  --  comType=2: bidirectional not RPC
------------------------------------------
Receiver> java -classpath target/classes haslab.eo.Receiver host port noMsgs msgSize comType N
localhost: java -classpath target/classes haslab.eo.Receiver localhost 1234 10000 1024 1 220
Emulab: java -classpath target/classes haslab.eo.Receiver client 1234 10000 1024 1 220

Sender> java -classpath target/classes haslab.eo.Sender host port noMsgs msgSize comType N
localhost: java -classpath target/classes haslab.eo.Sender localhost 3456 10000 1024 1 220
Emulab: java -classpath target/classes haslab.eo.Sender server 3456 10000 1024 1 220


//Request-Response
---------------------------------------
Server> java -classpath target/classes haslab.eo.Server host port N
localhost:java -classpath target/classes haslab.eo.Server localhost 1234 1
Emulab: java -classpath target/classes haslab.eo.Server client 1234 50

Client> java -classpath target/classes haslab.eo.Client host port N noMsgs msgSize actors
localhost:java -classpath target/classes haslab.eo.Client localhost 3456 1 10000 1024 1
Emulab: java -classpath target/classes haslab.eo.Client server 3456 50 1000 1024 1



---------------------------------------
- h: the host to communicate with
- p: Port or the receiver
- n: number of messages
- s: message size
- N: number of slots to be kept in reserve
- comType: communication type, 1=one-way, 2=send/receive.

exon's People

Contributors

ziadkassam avatar

Watchers

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