Ejemplo n.º 1
0
        /// <summary>
        /// Factory for deserialization.
        /// </summary>
        internal static NodeBuildComplete FactoryForDeserialization(ITranslator translator)
        {
            NodeBuildComplete packet = new NodeBuildComplete();

            packet.Translate(translator);
            return(packet);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Handles the NodeBuildComplete packet.
 /// </summary>
 private void HandleNodeBuildComplete(NodeBuildComplete buildComplete)
 {
     _shutdownReason = buildComplete.PrepareForReuse ? NodeEngineShutdownReason.BuildCompleteReuse : NodeEngineShutdownReason.BuildComplete;
     _shutdownEvent.Set();
 }