usa.gif English

ZyanConnection class

Namespace: Zyan.Communication

Creates a connection to a running Zyan component host.

MemberDescription
method.png ConstructorCreate a new connection.
method.png CreateProxy<T>Creates a local proxy object for communication with a specified server component.
method.png SubscribeEventRegisters a client for receiving notifications of a specified event.
method.png UnsubscribeEventCancels a client event subscription.
method.png DisposeCloses connection to server and release managed resources.
property.png ComponentHostNameReturns the name of the remote component host.
property.png Connections (static)Returns a collection of all existing connections.
property.png ServerUrlReturns the URL of the connected server.
property.png CallInterceptionEnabledGets or sets, if registered call interceptors should be processed or not.
property.png CallInterceptorsReturns a list of registered call interceptors.
property.png SerializationHandlingReturns a repository for hooking up custom serialization handlers.
event.png AfterInvokeEvent: Occurs after a component method was called.
event.png BeforeInvokeEvent: Occurs before a component method is called.
event.png InvokeCanceledEvent: Occurs when a component method call was canceled.
event.png ErrorEvent: Occurs when a error is raised while processing a remote call. Useful for logging or centralized error handling.