Creates a new instance of the ZyanConnection class.
Declaring type: ZyanConnection
Namespace: Zyan.Communication
Assembly: Zyan.Communication
Collapse/Expand Syntax
C#
public ZyanConnection (
        string serverUrl,
        IClientProtocolSetup protocolSetup,
        Hashtable credentials,
        bool autoLoginOnExpiredSession,
        bool keepSessionAlive
) 
Parameters
serverUrl
URL of remote server (e.G. "tcp://server1:46123/myapp").
protocolSetup
Protocol and communication settings.
credentials
Login credentials.
autoLoginOnExpiredSession
Specifies whether the proxy should relogin automatically when the session expired.
keepSessionAlive
Specifies whether the session should be automaticly kept alive.