Пример #1
0
 public GlobalConfig()
 {
     m_ThreadAwakeTimeout             = 1u;
     m_ReactorModel                   = ReactorModel.SelectReactor;
     m_ReactorMaximumReceivedMessages = 1024;
     m_ReactorMaximumSentMessages     = 1024;
     m_MaxPacketSize                  = 2000;
 }
Пример #2
0
 /// <summary>
 ///   <para>Create new global config object.</para>
 /// </summary>
 public GlobalConfig()
 {
     this.m_ThreadAwakeTimeout             = 1U;
     this.m_ReactorModel                   = ReactorModel.SelectReactor;
     this.m_ReactorMaximumReceivedMessages = (ushort)1024;
     this.m_ReactorMaximumSentMessages     = (ushort)1024;
     this.m_MaxPacketSize                  = (ushort)2000;
 }
Пример #3
0
 /// <summary>
 /// 
 /// <para>
 /// Create new global config object.
 /// </para>
 /// 
 /// </summary>
 public GlobalConfig()
 {
     this.m_ThreadAwakeTimeout = 1U;
       this.m_ReactorModel = ReactorModel.SelectReactor;
       this.m_ReactorMaximumReceivedMessages = (ushort) 1024;
       this.m_ReactorMaximumSentMessages = (ushort) 1024;
       this.m_MaxPacketSize = (ushort) 2000;
 }
Пример #4
0
    void Awake()
    {
        //Talk to Matt about replacing these 2 lines(ReactorView is not MonoBehaviour)
        Text energy  = GameObject.Find("energyLevel").GetComponent <Text>();
        Text storage = GameObject.Find("energyStorageLevel").GetComponent <Text>();

        rm   = new ReactorModel();
        esc  = new EnergyStorageController();
        escV = new EnergyStorageVIew(storage);
        rv   = new ReactorView(energy);

        esc.GetEnergyStorage();
    }
Пример #5
0
 public GlobalConfig()
 {
     this.m_ThreadAwakeTimeout             = 1u;
     this.m_ReactorModel                   = ReactorModel.SelectReactor;
     this.m_ReactorMaximumReceivedMessages = 1024;
     this.m_ReactorMaximumSentMessages     = 1024;
     this.m_MaxPacketSize                  = 2000;
     this.m_MaxHosts               = 16;
     this.m_ThreadPoolSize         = 1;
     this.m_MinTimerTimeout        = 1u;
     this.m_MaxTimerTimeout        = 12000u;
     this.m_MinNetSimulatorTimeout = 1u;
     this.m_MaxNetSimulatorTimeout = 12000u;
 }
Пример #6
0
 public GlobalConfig()
 {
     this.m_ThreadAwakeTimeout             = 1u;
     this.m_ReactorModel                   = ReactorModel.SelectReactor;
     this.m_ReactorMaximumReceivedMessages = 1024;
     this.m_ReactorMaximumSentMessages     = 1024;
     this.m_MaxPacketSize                  = 2000;
     this.m_MaxHosts               = 16;
     this.m_ThreadPoolSize         = 1;
     this.m_MinTimerTimeout        = 1u;
     this.m_MaxTimerTimeout        = 12000u;
     this.m_MinNetSimulatorTimeout = 1u;
     this.m_MaxNetSimulatorTimeout = 12000u;
     this.m_ConnectionReadyForSend = null;
     this.m_NetworkEventAvailable  = null;
 }