[This is preliminary documentation and is subject to change.]
Creates Topic objects and provides access to the topics that have been
created during this session of the agent.
Agents exchange data with SIF zones via Zone and Topic objects, which can
be obtained with the ZoneFactory and TopicFactory classes. These factories
are available by calling the
CopyC# and
CopyC# methods.
Topics are used to aggregate publish, subscribe, and query activity from
multiple zones. An Agent may have only one Topic instance per SIF Data Object
type (e.g. "StudentPersonal", "BusInfo", or "LibraryPatronStatus"), but a
Topic can be joined with any number of Zones.
Topic instances are returned by calling the getInstance method, which
returns the same Topic object for a given object type. Topic instances are
cached by the factory. getAllTopics returns all topics in the cache. A Topic
remains in the cache for as long as the agent is running.
Agent.getZoneFactory
Agent.getTopicFactory
| C# | Visual Basic | Visual C++ |
public interface ITopicFactory
Public Interface ITopicFactory
public interface class ITopicFactory
| All Members | Methods | ||||
| Icon | Member | Description |
|---|---|---|
| GetAllTopics()() | Gets all Topic instances in the factory cache | |
| GetInstance(IElementDef) | Gets a Topic instance for a SIF object type
|