Git Product home page Git Product logo

readerswriters's Introduction

Tsimpitas Dimitris dai17131 [Readers- Writers]

Example Execution:

Server


Server Waiting
[INIT STATE]
Flight    |Status    |Time      
----------|----------|--------
WD623     |DEPARTING |22:22     
          |          |          
VL001     |BOARDING  |17:02     
          |          |          
HZ205     |EN ROUTE  |17:02     
          |          |          
CX183     |EN ROUTE  |07:07     
          |          |          


Flight    |Status    |Time      
----------|----------|--------
WD623     |DEPARTING |22:22     
          |          |          
VL001     |BOARDING  |17:02     
          |          |          
HZ205     |EN ROUTE  |12:31     
          |          |          
CX183     |EN ROUTE  |07:07     
          |          |          


Flight    |Status    |Time      
----------|----------|--------
WD623     |DEPARTING |22:22     
          |          |          
VL001     |BOARDING  |03:53     
          |          |          
HZ205     |EN ROUTE  |12:31     
          |          |          
CX183     |EN ROUTE  |07:07     
          |          |          


Flight    |Status    |Time      
----------|----------|--------
WD623     |DEPARTING |22:22     
          |          |          
VL001     |EN ROUTE  |12:31     
          |          |          
HZ205     |EN ROUTE  |12:31     
          |          |          
CX183     |EN ROUTE  |07:07     
          |          |          
   

Clients


C11[W] sending request
C7[R] sending request
C3[R] sending request
C5[R] sending request
C9[R] sending request
C8[R] sending request
C1[R] sending request
C2[R] sending request
C4[R] sending request
C13[W] sending request
C11[W] received a reply:
	Reply opcode = WOK | Reply value = null
C7[R] received a reply:
	Reply opcode = ROK | Reply value = {time=12:31, status=EN ROUTE}
C9[R] received a reply:
	Reply opcode = RERROR | Reply value = null
C3[R] received a reply:
	Reply opcode = ROK | Reply value = {time=07:07, status=EN ROUTE}
C8[R] received a reply:
	Reply opcode = ROK | Reply value = {time=12:31, status=EN ROUTE}
C5[R] received a reply:
	Reply opcode = ROK | Reply value = {time=22:22, status=DEPARTING}
C4[R] received a reply:
	Reply opcode = ROK | Reply value = {time=07:07, status=EN ROUTE}
C2[R] received a reply:
	Reply opcode = ROK | Reply value = {time=12:31, status=EN ROUTE}
C1[R] received a reply:
	Reply opcode = ROK | Reply value = {time=22:22, status=DEPARTING}
C6[R] sending request
C12[W] sending request
C13[W] received a reply:
	Reply opcode = WOK | Reply value = null
C6[R] received a reply:
	Reply opcode = ROK | Reply value = {time=03:53, status=BOARDING}
C10[R] sending request
C12[W] received a reply:
	Reply opcode = WOK | Reply value = null
C10[R] received a reply:
	Reply opcode = ROK | Reply value = {time=12:31, status=EN ROUTE}

Code Structure

code structure

readerswriters's People

Contributors

tsimpdim avatar

Stargazers

 avatar

Watchers

 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.