Skip to content

ZyanComponentHost class

yallie edited this page May 21, 2018 · 1 revision

![](ZyanComponentHost class_usa.gif) English

ZyanComponentHost class

Namespace: Zyan.Communication

Hosts components and publishes them for remote access.

||Member||Description|| |![](ZyanComponentHost class_method.png) Constructor|Creates a new component host instance.| |![](ZyanComponentHost class_method.png) Dispose|Quits component hosting and frees used ressources.| |![](ZyanComponentHost class_method.png) GetRegisteredComponents|Returns a list with all registered components.| |![](ZyanComponentHost class_method.png) PublishEvent|Publishes a component´s event on the notification service.| |![](ZyanComponentHost class_method.png) RegisterComponent|Registers a component in the Host´s component catalog.| |![](ZyanComponentHost class_method.png) StartNotificationService|Starts the notification service.| |![](ZyanComponentHost class_method.png) StopNotificationService|Stops the notification service.| |![](ZyanComponentHost class_method.png) UnregisterComponent|Cancels the registration of a specified component.| |![](ZyanComponentHost class_property.png) ComponentCatalog|Sets the component catalog used for pubishing components.| |![](ZyanComponentHost class_property.png) Hosts (static)|Returns a list of all components hosts in the current AppDomain.| |![](ZyanComponentHost class_property.png) IsNotificationServiceRunning|Returns true, if the notification service is running, otherwise false.| |![](ZyanComponentHost class_property.png) Name|Returns the name of the component host.| |![](ZyanComponentHost class_property.png) NotificationService|Returns the notification service.| |![](ZyanComponentHost class_property.png) SessionManager|Returns the session manager.| |![](ZyanComponentHost class_property.png) SerializationHandling|Returns a repository for hooking up custom serialization handlers.| |![](ZyanComponentHost class_event.png) AfterInvoke|Event: Occurs after a component method was called.| |![](ZyanComponentHost class_event.png) BeforeInvoke|Event: Occurs before a component method is called.| |![](ZyanComponentHost class_event.png) InvokeCanceled|Event: Occurs when a component method call was canceled.| |![](ZyanComponentHost class_event.png) ClientLoggedOn|Event: Occurs after a client logged on.| |![](ZyanComponentHost class_event.png) ClientLoggedOff|Event: Occurs after a client logged off.|