SIFWorks ADK 2.0
ITopicFactory Interface
NamespacesEdustructures.SifWorksITopicFactory

[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#
Agent.getZoneFactory
and
CopyC#
Agent.getTopicFactory
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.
Declaration Syntax
C#Visual BasicVisual C++
public interface ITopicFactory
Public Interface ITopicFactory
public interface class ITopicFactory
Members
All MembersMethods



IconMemberDescription
GetAllTopics()()
Gets all Topic instances in the factory cache

GetInstance(IElementDef)
Gets a Topic instance for a SIF object type

Assembly: Edustructures.SifWorks.Adk (Module: Edustructures.SifWorks.Adk) Version: 2.0.0.10