struct IoTivity::Endpoint
- IoTivity::Endpoint
- Struct
- Value
- Object
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:
endpoint.crConstructors
Instance Method Summary
- #addr : Socket::IPAddress
- #clone
- #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)
- #device : LibC::SizeT
- #di : UUID
- #flags : OC::TransportFlags
- #interface_index : LibC::Int
- #priority : UInt8
- #version : OC::Version
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 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)
#