Class: GameOverseer::ENetServerRunner
- Inherits:
-
Object
- Object
- GameOverseer::ENetServerRunner
- Defined in:
- lib/gameoverseer/server/renet_server.rb
Instance Attribute Summary collapse
-
#supervisor ⇒ Object
readonly
Returns the value of attribute supervisor.
Instance Method Summary collapse
Instance Attribute Details
#supervisor ⇒ Object (readonly)
Returns the value of attribute supervisor.
121 122 123 |
# File 'lib/gameoverseer/server/renet_server.rb', line 121 def supervisor @supervisor end |
Instance Method Details
#start(host, port, packet_handler = PacketHandler, encryption_handler = nil) ⇒ Object
122 123 124 |
# File 'lib/gameoverseer/server/renet_server.rb', line 122 def start(host, port, packet_handler = PacketHandler, encryption_handler = nil) @supervisor = GameOverseer::ENetServer.new(host, port, packet_handler, encryption_handler) end |