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.1.tar.gz (33.5 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.1-py3-none-any.whl (71.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: startrek-2.3.1.tar.gz
  • Upload date:
  • Size: 33.5 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.1.tar.gz
Algorithm Hash digest
SHA256 7b080a0dd6423702d372836dafbc0b9331f853e047efa799349a6a569aabaf47
MD5 f6b8d8258fc0a4b0c2dbece45d11dc56
BLAKE2b-256 00fbfe1debc8d70089bc6959fc8ee36e0967dba80d8dff7ed309af2fc815a6d8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: startrek-2.3.1-py3-none-any.whl
  • Upload date:
  • Size: 71.7 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c355b2000a6952f7858ff1348d08d54168548cb4640e6332c0edc66d0980656e
MD5 23625ac63038eafdf26c7def89e0948e
BLAKE2b-256 3e9091de125718b01b0358436dc1f87f1f6fb843d8aa9035d7210dd92dbb64d2

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