/*********************************************************************/ /* */ /* AgentService Framework */ /* www.agentservice.it */ /* */ /* Copyright (C) 2007 l.i.d.o. - DIST, University of Genoa, Italy */ /* GNU Lesser General Public License */ /* */ /* This library is free software; you can redistribute it and/or */ /* modify it under the terms of the GNU Lesser General Public */ /* License as published by the Free Software Foundation, */ /* version 2.1 of the License. */ /* */ /* This library is distributed in the hope that it will be useful, */ /* but WITHOUT ANY WARRANTY; without even the implied warranty of */ /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU */ /* Lesser General Public License for more details. */ /* */ /* You should have received a copy of the GNU Lesser General Public */ /* License along with this library; if not, write to the */ /* Free Software Foundation, Inc., 59 Temple Place - Suite 330, */ /* Boston, MA 02111-1307, USA. */ /* */ /*********************************************************************/ using System; namespace AgentService.Platform { /// /// Enumeration PlatformState. Defines all the possible states of the life cycle of the Platform. /// [Flags] public enum PlatformState { /// /// Platform has not been bound /// Unknown = 0x0000, /// /// Platform cannot be started beacuse the configuration file /// is corrupted /// FailStart = 0x1000, /// /// Platform has been bound /// Idle = 0x2000, /// /// Platform has been started, or stopped from the running state /// Ready = 0x4000, /// /// Platform is starting /// Starting = 0x4001, /// /// Platform is going into the running state /// Activating = 0x4002, /// /// Platform is running /// Running = 0x8000, /// /// Platform is being stopped /// Stopping = 0x8004, /// /// Platform is shutting down /// ShuttingDown = 0x8008, /// /// Transient Mask: apply this bit mask to know if /// the state is transient /// TransientMask = 0x0FFF } }