GoldenGateConnectionManager / com.fitbit.goldengate.node

Package com.fitbit.goldengate.node

Types

Bridge

class Bridge : DataSinkDataSource, Closeable

Establishes a bidirectional transport bridge between cross platform stack and native/android bluetooth services.

Linkup

interface Linkup

Interface for Golden Gate link-up process

LinkupHandlerProvider

object LinkupHandlerProvider

Helper object to return the linkup handler based upon connection role (node or hub)

MtuChangeRequester

class MtuChangeRequester

Class to request MTU change for a CONNECTED Node

NodeDataReceiver

interface NodeDataReceiver

Receives data from connected Node

NodeDataReceiverProvider

class NodeDataReceiverProvider

Provides NodeDataReceiver to use for receiving data

NodeDataSender

interface NodeDataSender

Sends data from connected Node

NodeDataSenderProvider

class NodeDataSenderProvider

Provides NodeDataSender to use for sending data

NodeMapper

class NodeMapper

Maps a NodeKey to a Node. Uses a PeerBuilder to make the node if it does not exist or if the existing Node is different than expected

Peer

abstract class Peer<T : StackService>

Interface for Golden Gate Nodes. Used to represent a connection and encapsulates the protocol

PeerBuilder

interface PeerBuilder<S : StackService, K : NodeKey<*>>

Builds a Peer with StackService of type S and key of type K and determines if an existing Peer is the same as the one's it builds

PeerConnectionStatus

enum class PeerConnectionStatus

StackEventHandler

class StackEventHandler

Receives stack events and dispatches them to the right handler. For now this only supports gattlink buffer events.

Exceptions

MtuChangeException

class MtuChangeException : Exception

Exception thrown when failed to update MTU