struct IoTivity::ListOfEndpoints

Overview

A wrapper for IoTivity's oc_endpoint_t* lists returned by discovery functions and needed to send GET/POST/DELETE requests. Currently, this is implemented as an opaque data structure; thus it is not meant to be investigated for the actual IP addresses. Its main use is to provide a more convenient way to persistently store endpoint information by wrapping calls to oc_endpoint_list_copy.

Included Modules

Defined in:

Constructors

Instance Method Summary

Constructor Detail

def self.new(eps : Pointer(OC::Endpoint)) #

def self.new(other : ListOfEndpoints) #

Instance Method Detail

def each : Iterator(Endpoint) #
Description copied from module Iterable(IoTivity::Endpoint)

Must return an Iterator over the elements in this collection.


def eps : Pointer(OC::Endpoint) #