Class: Kanrisuru::Core::Socket::Statistics

Inherits:
Struct
  • Object
show all
Defined in:
lib/kanrisuru/core/socket/types.rb

Instance Attribute Summary collapse

Instance Attribute Details

#local_addressObject

Returns the value of attribute local_address

Returns:

  • (Object)

    the current value of local_address



6
7
8
# File 'lib/kanrisuru/core/socket/types.rb', line 6

def local_address
  @local_address
end

#local_portObject

Returns the value of attribute local_port

Returns:

  • (Object)

    the current value of local_port



6
7
8
# File 'lib/kanrisuru/core/socket/types.rb', line 6

def local_port
  @local_port
end

#memoryObject

Returns the value of attribute memory

Returns:

  • (Object)

    the current value of memory



6
7
8
# File 'lib/kanrisuru/core/socket/types.rb', line 6

def memory
  @memory
end

#netidObject

Returns the value of attribute netid

Returns:

  • (Object)

    the current value of netid



6
7
8
# File 'lib/kanrisuru/core/socket/types.rb', line 6

def netid
  @netid
end

#peer_addressObject

Returns the value of attribute peer_address

Returns:

  • (Object)

    the current value of peer_address



6
7
8
# File 'lib/kanrisuru/core/socket/types.rb', line 6

def peer_address
  @peer_address
end

#peer_portObject

Returns the value of attribute peer_port

Returns:

  • (Object)

    the current value of peer_port



6
7
8
# File 'lib/kanrisuru/core/socket/types.rb', line 6

def peer_port
  @peer_port
end

#receive_queueObject

Returns the value of attribute receive_queue

Returns:

  • (Object)

    the current value of receive_queue



6
7
8
# File 'lib/kanrisuru/core/socket/types.rb', line 6

def receive_queue
  @receive_queue
end

#send_queueObject

Returns the value of attribute send_queue

Returns:

  • (Object)

    the current value of send_queue



6
7
8
# File 'lib/kanrisuru/core/socket/types.rb', line 6

def send_queue
  @send_queue
end

#stateObject

Returns the value of attribute state

Returns:

  • (Object)

    the current value of state



6
7
8
# File 'lib/kanrisuru/core/socket/types.rb', line 6

def state
  @state
end