struct CrystaLXD::Container::State::Network::Counter

Included Modules

Defined in:

client/container.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(bytes_received : Int64, bytes_sent : Int64, packets_received : Int64, packets_sent : Int64) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def bytes_received : Int64 #

def bytes_sent : Int64 #

def clone #

[View source]
def copy_with(bytes_received _bytes_received = @bytes_received, bytes_sent _bytes_sent = @bytes_sent, packets_received _packets_received = @packets_received, packets_sent _packets_sent = @packets_sent) #

[View source]
def packets_received : Int64 #

def packets_sent : Int64 #