-
Notifications
You must be signed in to change notification settings - Fork 38
ZyanConnection class
![](ZyanConnection class_usa.gif) English
Namespace: Zyan.Communication
Creates a connection to a running Zyan component host.
||Member||Description |![](ZyanConnection class_method.png) Constructor|Create a new connection. |![](ZyanConnection class_method.png) CreateProxy|Creates a local proxy object for communication with a specified server component. |![](ZyanConnection class_method.png) SubscribeEvent|Registers a client for receiving notifications of a specified event. |![](ZyanConnection class_method.png) UnsubscribeEvent|Cancels a client event subscription. |![](ZyanConnection class_method.png) Dispose|Closes connection to server and release managed resources. |![](ZyanConnection class_property.png) ComponentHostName|Returns the name of the remote component host. |![](ZyanConnection class_property.png) Connections (static)|Returns a collection of all existing connections. |![](ZyanConnection class_property.png) ServerUrl|Returns the URL of the connected server. |![](ZyanConnection class_property.png) CallInterceptionEnabled|Gets or sets, if registered call interceptors should be processed or not. |![](ZyanConnection class_property.png) CallInterceptors|Returns a list of registered call interceptors. |![](ZyanConnection class_property.png) SerializationHandling|Returns a repository for hooking up custom serialization handlers. |![](ZyanConnection class_event.png) AfterInvoke|Event: Occurs after a component method was called.| |![](ZyanConnection class_event.png) BeforeInvoke|Event: Occurs before a component method is called.| |![](ZyanConnection class_event.png) InvokeCanceled|Event: Occurs when a component method call was canceled.| |![](ZyanConnection class_event.png) Error|Event: Occurs when a error is raised while processing a remote call. Useful for logging or centralized error handling.|