Class: Baykit::BayServer::Agent::Letters::WroteLetter

Inherits:
Letter
  • Object
show all
Defined in:
lib/baykit/bayserver/agent/letters/wrote_letter.rb

Instance Attribute Summary collapse

Attributes inherited from Letter

#multiplexer, #rudder, #state_id

Instance Method Summary collapse

Constructor Details

#initialize(state_id, rd, mpx, n) ⇒ WroteLetter

Returns a new instance of WroteLetter.



8
9
10
11
# File 'lib/baykit/bayserver/agent/letters/wrote_letter.rb', line 8

def initialize(state_id, rd, mpx, n)
  super state_id, rd, mpx
  @n_bytes = n
end

Instance Attribute Details

#n_bytesObject (readonly)

Returns the value of attribute n_bytes.



6
7
8
# File 'lib/baykit/bayserver/agent/letters/wrote_letter.rb', line 6

def n_bytes
  @n_bytes
end