Stubbed files for simplified networking system

This commit is contained in:
2020-07-20 21:36:56 -05:00
parent e69dd3402d
commit 2a36c58abe
5 changed files with 101 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
class Peer
attr_reader :id, :hostname, :port, :data
def initialize(id:, hostname:, port:)
@id = id
@hostname = hostname
@port = port
@data = {}
end
end