Exemplo n.º 1
0
    private void method_3(string string_1, AgileIPE agileIPE_0, bool bool_0)
    {
        Interface26 interface2 = Class157.CreateInterface26(this.object_0.imethod_1());

        try
        {
            interface2.SetStreamContract(this.object_0.GetStreamContract());
            interface2.SetAgileLogger(this.object_0.GetAgileLogger());
            interface2.imethod_10(this.object_0.imethod_9());
            interface2.imethod_12(this.object_0.imethod_11());
            interface2.imethod_8(this.object_0.imethod_7());
            interface2.SocketSendBuffSize = this.object_0.SocketSendBuffSize;
            interface2.imethod_23(this.object_0.imethod_22());
            interface2.LjXdpkRter(null);
            interface2.SetData(0);
            interface2.SetAgileIPE(agileIPE_0);
            interface2.AutoReconnect = false;
            interface2.Initialize();
            interface2.ConnectionInterrupted += new CbGeneric(this.newEngine_ConnectionInterrupted);
            this.safeDictionary_0.Add(string_1, interface2);
            this.SomeOneConnected(string_1, interface2.GetAgileIPE().IPEndPoint_0, bool_0);
        }
        catch (Exception)
        {
            interface2.Dispose();
        }
    }
Exemplo n.º 2
0
    public void Close(string string_1)
    {
        Interface26 interface2 = this.safeDictionary_0.Get(string_1);

        if (interface2 != null)
        {
            interface2.Dispose();
            this.safeDictionary_0.Remove(string_1);
            //  this.XppbFuVvfm(string_1);
        }
    }