Class: Baykit::BayServer::Agent::Letters::Letter
- Inherits:
-
Object
- Object
- Baykit::BayServer::Agent::Letters::Letter
- Defined in:
- lib/baykit/bayserver/agent/letters/letter.rb
Direct Known Subclasses
AcceptedLetter, ClosedLetter, ConnectedLetter, ErrorLetter, ReadLetter, WroteLetter
Instance Attribute Summary collapse
-
#multiplexer ⇒ Object
readonly
Returns the value of attribute multiplexer.
-
#rudder ⇒ Object
readonly
Returns the value of attribute rudder.
-
#state_id ⇒ Object
readonly
Returns the value of attribute state_id.
Instance Method Summary collapse
-
#initialize(state_id, rd, mpx) ⇒ Letter
constructor
A new instance of Letter.
Constructor Details
#initialize(state_id, rd, mpx) ⇒ Letter
Returns a new instance of Letter.
9 10 11 12 13 |
# File 'lib/baykit/bayserver/agent/letters/letter.rb', line 9 def initialize(state_id, rd, mpx) @state_id = state_id @rudder = rd @multiplexer = mpx end |
Instance Attribute Details
#multiplexer ⇒ Object (readonly)
Returns the value of attribute multiplexer.
8 9 10 |
# File 'lib/baykit/bayserver/agent/letters/letter.rb', line 8 def multiplexer @multiplexer end |
#rudder ⇒ Object (readonly)
Returns the value of attribute rudder.
7 8 9 |
# File 'lib/baykit/bayserver/agent/letters/letter.rb', line 7 def rudder @rudder end |
#state_id ⇒ Object (readonly)
Returns the value of attribute state_id.
6 7 8 |
# File 'lib/baykit/bayserver/agent/letters/letter.rb', line 6 def state_id @state_id end |