Concepts

Event Bus

Introduction

The KOS UI SDK makes use of an Event Bus to provide a generic and decoupled mechanism to publish and subscribe to arbitrary events both from the backend (dispenser) as well as internally between models.

Subscribing to a topic

Listening to a model-independent topic

Conditional Subscription

Handling String messages

Handling typed messages

Subscribing to a WebSocket topic

Publishing to the Event Bus

Message Topic

Message Payload

Message Headers

Unsubscribing

Best Practice

Previous
Next
On this page
Java Development
Seamlessly transition from Legacy+ systems to Freestyle microdosing and advanced distributed dispense systems.
UI Development
Using KOS SDKs, integrating Consumer and Non-consumer facing UIs becomes seamless, giving you less hassle and more time to create.
Video Library
Meet some of our development team, as they lead you through the tools, features, and tips and tricks of various KOS tools.
Resources
Familiarize yourself with KOS terminology, our reference materials, and explore additional resources that complement your KOS journey.
Copyright © 2024 TCCC. All rights reserved.