MeshCoreTCPMux::Broker::Transaction
Inherits Reference < Object
Owns all mutable protocol state and schedules clients onto one companion connection. Runtime delivers socket events here and executes the returned actions; the broker does no I/O.
Constructors
new(owner : Int64, command : Slice(UInt8), descriptor : MeshCoreTCPMux::Protocol::CommandDescriptor, started : Time::Span, pop_sequence : Int64 = 0_i64, notification_generation : Int64 = 0_i64)
SourceInstance methods
command
Sourcecontacts_started
Sourcecontacts_started=(contacts_started : Bool)
Sourcedescriptor
Sourcehad_multi_client
Sourcehad_multi_client=(had_multi_client : Bool)
Sourcejob_id
Sourcejob_id=(job_id : Int64)
Sourcemaintenance
Sourcemaintenance=(maintenance : Bool)
Sourcemaintenance_write_id
Sourcemaintenance_write_id=(maintenance_write_id : Int64 | Nil)
Sourcenotification_generation
Sourceowner
Sourcepop_sequence
Sourceprogress
Sourceprogress=(progress : Time::Span)
Sourceresponse_frames
Sourceresponse_frames=(response_frames : Int32)
Sourcescoped
Sourcescoped=(scoped : Bool)
Sourcestarted
Sourcestarted=(started : Time::Span)
Sourcestep
Sourcestep=(step : MeshCoreTCPMux::Broker::Transaction::Step)
Sourceupstream_write_id
Sourceupstream_write_id=(upstream_write_id : Int64 | Nil)
Source