Example #1
0
 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);
 }
Example #2
0
 internal void SetEventNetwork(EventNetwork _event)
 {
     this._event = _event;
 }