Class: Pio::Enqueue
- Inherits:
-
Object
- Object
- Pio::Enqueue
- Extended by:
- Forwardable
- Defined in:
- lib/pio/enqueue.rb
Overview
An action to enqueue the packet on the specified queue attached to a port.
Defined Under Namespace
Classes: Format
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(user_options) ⇒ Enqueue
constructor
A new instance of Enqueue.
Constructor Details
Class Method Details
.read(raw_data) ⇒ Object
22 23 24 25 26 |
# File 'lib/pio/enqueue.rb', line 22 def self.read(raw_data) enqueue = allocate enqueue.instance_variable_set :@format, Format.read(raw_data) enqueue end |