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:

endpoint.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(other : ListOfEndpoints) #

[View source]

Instance Method Detail

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

Must return an Iterator over the elements in this collection.


[View source]
def eps : Pointer(OC::Endpoint) #

[View source]