public Service_NetWork() { mEventNetwork = new EventNetwork(); // ==================== mUDP_Reciver = new NetworkUDP_Reciver(); mUDP_Reciver.SetEventNetwork(mEventNetwork); mUDP_Sender = new NetworkUDP_Sender(); // ==================== mTCP = new NetworkTCP(); mTCP.SetEventNetwork(mEventNetwork); }
internal void SetEventNetwork(EventNetwork _event) { this._event = _event; }