Class: DatTCP::Server::State
- Inherits:
-
DatWorkerPool::LockedObject
- Object
- DatWorkerPool::LockedObject
- DatTCP::Server::State
- Defined in:
- lib/dat-tcp.rb
Instance Method Summary collapse
Instance Method Details
#halt? ⇒ Boolean
180 |
# File 'lib/dat-tcp.rb', line 180 def halt?; self.value == :halt; end |
#listen? ⇒ Boolean
176 |
# File 'lib/dat-tcp.rb', line 176 def listen?; self.value == :listen; end |
#pause? ⇒ Boolean
178 |
# File 'lib/dat-tcp.rb', line 178 def pause?; self.value == :pause; end |
#run? ⇒ Boolean
177 |
# File 'lib/dat-tcp.rb', line 177 def run?; self.value == :run; end |
#stop? ⇒ Boolean
179 |
# File 'lib/dat-tcp.rb', line 179 def stop?; self.value == :stop; end |