Class: Baykit::BayServer::Docker::BuiltIn::LogBoat::LogPacket
- Inherits:
-
Packet
- Object
- Packet
- Baykit::BayServer::Docker::BuiltIn::LogBoat::LogPacket
- Defined in:
- lib/baykit/bayserver/docker/built_in/log_boat.rb
Instance Method Summary collapse
-
#initialize(data) ⇒ LogPacket
constructor
A new instance of LogPacket.
Constructor Details
#initialize(data) ⇒ LogPacket
Returns a new instance of LogPacket.
14 15 16 17 |
# File 'lib/baykit/bayserver/docker/built_in/log_boat.rb', line 14 def initialize(data) super(0, 0, data.length) new_data_accessor().put_string(data) end |