Ejemplo n.º 1
0
        public MyXcapStack(XcapCallback callback, String xui, String password, String xcapRoot, int timeout)
        {
            this.stack = new XcapStack(callback, xui, password, xcapRoot);

            if (callback is MySyncXcapCallback)
            {
                this.synCallback = callback as MySyncXcapCallback;
            }

            this.xui      = xui;
            this.password = password;
            this.xcapRoot = xcapRoot;
            this.timeout  = timeout;

            this.stack.setTimeout((uint)timeout);
        }
Ejemplo n.º 2
0
        public MyXcapStack(XcapCallback callback, String xui, String password, String xcapRoot, int timeout)
        {
            this.stack = new XcapStack(callback, xui, password, xcapRoot);

            if (callback is MySyncXcapCallback)
            {
                this.synCallback = callback as MySyncXcapCallback;
            }

            this.xui = xui;
            this.password = password;
            this.xcapRoot = xcapRoot;
            this.timeout = timeout;

            this.stack.setTimeout((uint)timeout);
        }