private void method_2(IPEndPoint ipendPoint_0) { Class116 class2 = this.safeDictionary_0.Get(ipendPoint_0); if (class2 != null) { class2.Close(SessionClosedCause.DestExit, false); this.OnUdpSessionClosed(class2, SessionClosedCause.DestExit); } Class100 class3 = this.safeDictionary_1.Get(ipendPoint_0); if (class3 != null) { class3.Close(SessionClosedCause.DestExit, false); this.OnUdpSessionClosed(class3, SessionClosedCause.DestExit); } }
public void imethod_3(IPEndPoint ipendPoint_0) { Class116 class2 = this.safeDictionary_0.Get(ipendPoint_0); if (class2 != null) { class2.Close(SessionClosedCause.ActiveClose, false); this.OnUdpSessionClosed(class2, SessionClosedCause.ActiveClose); } Class100 class3 = this.safeDictionary_1.Get(ipendPoint_0); if (class3 != null) { class3.Close(SessionClosedCause.ActiveClose, false); this.OnUdpSessionClosed(class3, SessionClosedCause.ActiveClose); } }
public void OnUdpSessionOpened(byte byte_0, string string_1, IPEndPoint ipendPoint_0, AgileIPE agileIPE_0) { Class100 class2 = this.safeDictionary_1.Get(ipendPoint_0); if (class2 != null) { if (class2.method_1() == byte_0) { return; } class2.Close(SessionClosedCause.DestIdentityChanged, false); this.OnUdpSessionClosed(class2, SessionClosedCause.DestIdentityChanged); } Class100 class3 = new Class100((IPv6)this.object_1, byte_0, ipendPoint_0, string_1, this.int_1); class3.method_7(this.safeDictionary_0.Get(ipendPoint_0) != null); class3.Event_0 += new CbGeneric <Interface17, byte[]>(this.OnDataReceived); class3.SessionClosed += new CbGeneric <Interface17, SessionClosedCause>(this.method_8); this.safeDictionary_1.Add(ipendPoint_0, class3); this.eventSafeTrigger_0.Action <Interface17>("UdpSessionOpened", this.UdpSessionOpened, class3); byte[] buffer = Class156.IHeader1(this.string_0).method_0(); this.object_1.Send(buffer, ipendPoint_0); this.class32_0.imethod_0(string_1, agileIPE_0, this.string_0); }