1
using System.ServiceProcess;
2
using Rackspace.Cloud.Server.Common.Logging;
4
namespace Rackspace.Cloud.Server.Agent.Service {
5
partial class AgentService : ServiceBase {
6
readonly ServerClass _serverClass;
8
public AgentService() {
10
_serverClass = new ServerClass(new Logger());
13
protected override void OnStart(string[] args) {
14
_serverClass.Onstart();
17
protected override void OnStop() {
18
_serverClass.Onstop();
b'\\ No newline at end of file'