struct IoTivity::Endpoint

Overview

A wrapper for IoTivity's oc_endpoint_t (except the pointer to the next endpoint for lists - you should iterate a ListOfEndpoints instead of directly using the C linked list).

Defined in:

Constructors

Instance Method Summary

Constructor Detail

def self.new(device : LibC::SizeT, flags : OC::TransportFlags, di : UUID, addr : Socket::IPAddress, interface_index : LibC::Int, priority : UInt8, version : OC::Version) #

Instance Method Detail

def addr : Socket::IPAddress #

def clone #

def copy_with(device _device = @device, flags _flags = @flags, di _di = @di, addr _addr = @addr, interface_index _interface_index = @interface_index, priority _priority = @priority, version _version = @version) #

def device : LibC::SizeT #

def di : UUID #

def flags : OC::TransportFlags #

def interface_index : LibC::Int #

def priority : UInt8 #

def version : OC::Version #