class Ktistec::Topic::Subjects

Overview

Manages the mapping of subjects to indexes.

The string representation of subjects are mutable. Topics refer to subjects by their index rather than their string representation so that subscriptions are not affected when that changes.

Defined in:

framework/topic.cr

Instance Method Summary

Instance Method Detail

def [](i : Int) : String | Nil #

[View source]
def clear(i : Int) #

[View source]
def free #

[View source]
def map(t : String) : Int #

[View source]
def size #

[View source]
def unmap(i : Int) #

[View source]