Class: MINT::Pose::StatefulProtocol
- Inherits:
-
EventMachine::Connection
- Object
- EventMachine::Connection
- MINT::Pose::StatefulProtocol
- Includes:
- EM::Protocols::LineText2
- Defined in:
- lib/MINT-core/model/ir/body/pose.rb
Instance Attribute Summary collapse
-
#pose ⇒ Object
Returns the value of attribute pose.
Instance Method Summary collapse
-
#initialize ⇒ StatefulProtocol
constructor
A new instance of StatefulProtocol.
- #receive_line(data) ⇒ Object
- #unbind ⇒ Object
Constructor Details
#initialize ⇒ StatefulProtocol
Returns a new instance of StatefulProtocol.
83 84 85 86 |
# File 'lib/MINT-core/model/ir/body/pose.rb', line 83 def initialize super() end |
Instance Attribute Details
#pose ⇒ Object
Returns the value of attribute pose.
81 82 83 |
# File 'lib/MINT-core/model/ir/body/pose.rb', line 81 def pose @pose end |
Instance Method Details
#receive_line(data) ⇒ Object
88 89 90 |
# File 'lib/MINT-core/model/ir/body/pose.rb', line 88 def receive_line(data) pose.buffer = data end |
#unbind ⇒ Object
92 93 94 |
# File 'lib/MINT-core/model/ir/body/pose.rb', line 92 def unbind pose.process_event :disconnect end |