GoldenGateBindings / com.fitbit.goldengate.bindings.coap

Package com.fitbit.goldengate.bindings.coap

Types

ByteArrayParser

interface ByteArrayParser<Result> : Parser<ByteArray, Result>

This interface is a specific subinterface of Parser that parses ByteArray objects

CoapEndpoint

class CoapEndpoint : NativeReference, StackService, Endpoint, DataSinkDataSource

Coap Client/Server API.

CoapEndpointBuilder

object CoapEndpointBuilder : () -> CoapEndpoint

Utility object for building a CoapEndpoint

CoapEndpointHandlerConfiguration

data class CoapEndpointHandlerConfiguration

Contains all the configuration/flags used by CoAP endpoint handler registration

CoapEndpointProvider

object CoapEndpointProvider

Provider for Endpoint that ensures only single CoapEndpoint instance exist per node

CoapGroupRequestFilter

class CoapGroupRequestFilter : NativeReference, Closeable

This class provides apis to setup/update CoAP request filters group #1 is used for non-authenticated connections, and group #0 (i.e. no filtering) is used for authenticated states.

CoapGroupRequestFilterMode

enum class CoapGroupRequestFilterMode

Enum representing CoAP group filter mode CoAP resource filter can support up to four different filter groups.

Endpoint

interface Endpoint

This class is the Client/Server API of that will be exposed to users of this library.

Parser

interface Parser<Input, Result>

This can be used by the library to parse responses into a format the caller desires

Exceptions

CoapEndpointException

class CoapEndpointException : Exception

Exception indicating error when requesting data from coap server

CoapEndpointResponseException

class CoapEndpointResponseException : Exception

Exception thrown when ResponseCode for response from a CoAP request is ResponseCode.Class.clientError or ResponseCode.Class.serverError.

Properties

COAP_DEFAULT_PORT

const val COAP_DEFAULT_PORT: Int

Default Coap port