Skip to main content

Interstellar Transport

Project description

Star Trek: Interstellar Transport

License PRs Welcome Platform Issues Repo Size Tags Version

Watchers Forks Stars Followers

Network Module

  • Channel
    • Socket
  • Connection
    • TimedConnection
    • ConnectionState
    • ConnectionDelegate
  • Hub
    • ConnectionPool
    Architecture
    ~~~~~~~~~~~~

                   Connection        Connection      Connection
                   Delegate          Delegate        Delegate
                       ^                 ^               ^
                       :                 :               :
          ~ ~ ~ ~ ~ ~ ~:~ ~ ~ ~ ~ ~ ~ ~ ~:~ ~ ~ ~ ~ ~ ~ ~:~ ~ ~ ~ ~ ~ ~
                       :                 :               :
            +===+------V-----+====+------V-----+===+-----V------+===+
            ||  | connection |    | connection |   | connection |  ||
            ||  +------------+    +------------+   +------------+  ||
            ||          :                :               :         ||
            ||          :      HUB       :...............:         ||
            ||          :                        :                 ||
            ||     +-----------+           +-----------+           ||
            ||     |  channel  |           |  channel  |           ||
            +======+-----------+===========+-----------+============+
                   |  socket   |           |  socket   |
                   +-----^-----+           +-----^-----+
                         : (TCP)                 : (UDP)
                         :               ........:........
                         :               :               :
          ~ ~ ~ ~ ~ ~ ~ ~:~ ~ ~ ~ ~ ~ ~ ~:~ ~ ~ ~ ~ ~ ~ ~:~ ~ ~ ~ ~ ~ ~
                         :               :               :
                         V               V               V
                    Remote Peer     Remote Peer     Remote Peer
  • Ship
    • Arrival
    • Departure
  • Dock
    • ArrivalHall
    • DepartureHall
  • Porter
    • PorterDelegate
  • Gate
    • PorterPool
    Architecture
    ~~~~~~~~~~~~

                Porter Delegate   Porter Delegate   Porter Delegate
                       ^                 ^               ^
                       :                 :               :
          ~ ~ ~ ~ ~ ~ ~:~ ~ ~ ~ ~ ~ ~ ~ ~:~ ~ ~ ~ ~ ~ ~ ~:~ ~ ~ ~ ~ ~ ~
                       :                 :               :
            +==========V=================V===============V==========+
            ||         :                 :               :         ||
            ||         :      Gate       :               :         ||
            ||         :                 :               :         ||
            ||  +------------+    +------------+   +------------+  ||
            ||  |   porter   |    |   porter   |   |   porter   |  ||
            +===+------------+====+------------+===+------------+===+
            ||  | connection |    | connection |   | connection |  ||
            ||  +------------+    +------------+   +------------+  ||
            ||          :                :               :         ||
            ||          :      HUB       :...............:         ||
            ||          :                        :                 ||
            ||     +-----------+           +-----------+           ||
            ||     |  channel  |           |  channel  |           ||
            +======+-----------+===========+-----------+============+
                   |  socket   |           |  socket   |
                   +-----^-----+           +-----^-----+
                         : (TCP)                 : (UDP)
                         :               ........:........
                         :               :               :
          ~ ~ ~ ~ ~ ~ ~ ~:~ ~ ~ ~ ~ ~ ~ ~:~ ~ ~ ~ ~ ~ ~ ~:~ ~ ~ ~ ~ ~ ~
                         :               :               :
                         V               V               V
                    Remote Peer     Remote Peer     Remote Peer

Finite State Machine

  • State
    • Transition
  • Machine
    • BaseMachine
    • AutoMachine
  • MachineDelegate

Others

  • Runner
  • Ticker
  • Metronome

Copyright © 2021 Albert Moky

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

startrek-2.3.0.tar.gz (32.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

startrek-2.3.0-py3-none-any.whl (67.5 kB view details)

Uploaded Python 3

File details

Details for the file startrek-2.3.0.tar.gz.

File metadata

  • Download URL: startrek-2.3.0.tar.gz
  • Upload date:
  • Size: 32.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/68.0.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.0b3

File hashes

Hashes for startrek-2.3.0.tar.gz
Algorithm Hash digest
SHA256 06ce860cdc889ea9d2b1f224dc2641e9231d1399362d407ac62cf86cb943a35f
MD5 1adc46343a14d008dda7ea7076560c93
BLAKE2b-256 1456a92a971fc7af1ca2966d76a821c75ef2fbd202f604f2dd4c44e71e2476b3

See more details on using hashes here.

File details

Details for the file startrek-2.3.0-py3-none-any.whl.

File metadata

  • Download URL: startrek-2.3.0-py3-none-any.whl
  • Upload date:
  • Size: 67.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/68.0.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.0b3

File hashes

Hashes for startrek-2.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6682ccf691a75ab678e379ff859635dd3688b8ceb0c73e027c5fca6aea1ceec3
MD5 2964931df3277fa48e70477552e6083e
BLAKE2b-256 6cfce8d37b7467407f30ef25a10088ebc365dd378ef8ec5a3dd440091d7b6cfb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page