Exemplo n.º 1
0
        void IBootable.Shutdown()
        {
            _Viewer.WriteLine(string.Format("Leave Transmitter {0} {1}", _Peer.RemoteEndPoint, _Id));

            _Command.Unregister(_CommandSendString);
            _Command.Unregister(_CommandSendContinousNumber);
            _Command.Unregister(_CommandReceiveString);
            _Command.Unregister(_CommandReceiveContinousNumber);
            _Command.Unregister(_CommandView);
            _SendMachine.Termination();
            _ReceiveMachine.Termination();
        }
Exemplo n.º 2
0
        void IStage.Leave()
        {
            _Machine.Termination();
            _Updater.Shutdown();

            _DifferenceNoticer.Set(new IIndividual[0]);
            _DifferenceNoticer.JoinEvent -= this._BroadcastJoin;
            _DifferenceNoticer.LeftEvent -= this._BroadcastLeft;

            _Binder.Unbind <IEmotion>(this);
            _Binder.Unbind <IDevelopActor>(_Player);
            _Binder.Unbind <IPlayerProperys>(this);
            _Gate.Left(_Player);
        }
Exemplo n.º 3
0
    // Use this for initialization

    void OnDestroy()
    {
        _Machine.Termination();
    }
Exemplo n.º 4
0
 void IBootable.Shutdown()
 {
     _Machine.Termination();
     _Updater.Shutdown();
 }