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

#state

Instance Method Summary collapse

Constructor Details

#initialize(st, 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(st, n)
  super st
  @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