public Oyster_UPNP() { // This call is required by the Windows.Forms Component Designer. InitializeComponent(); Logger = new CarverLabUtility.Logger("OysterUPNP"); Logger.WriteLog("Setting up Service..."); DelayTimer = new System.Timers.Timer(); DelayTimer.Enabled = false; DelayTimer.Interval = 500; DelayTimer.Elapsed +=new System.Timers.ElapsedEventHandler(DelayTimer_Elapsed); // device = UPnPDevice.CreateRootDevice(1800,1.0,"\\"); // device.FriendlyName = System.Environment.MachineName; // device.Manufacturer = "Carver Lab Corporation"; // device.ManufacturerURL = "http://www.carverlab.com"; // device.ModelName = "Oyster Mini"; // device.ModelDescription = "Video Capture and Playback Device"; // device.ModelNumber = "CLC_OM_10"; // device.HasPresentation = true; // device.PresentationURL = "http://OysterMini"; // device.LocationURL = "http://OysterMini"; // device.SerialNumber = "OD_517200501"; // device.DeviceURN = "urn:schemas-upnp-org:device:OysterDevice:1"; // CarverLab.OysterDevice.OysterConnection OysterConnection = new CarverLab.OysterDevice.OysterConnection(); // OysterConnection.External_GetConnectionVariables = new CarverLab.OysterDevice.OysterConnection.Delegate_GetConnectionVariables(OysterConnection_GetConnectionVariables); // device.AddService(OysterConnection); // TODO: Add any initialization after the InitComponent call }
public Encoder() { // This call is required by the Windows.Forms Component Designer. InitializeComponent(); // TODO: Add any initialization after the InitComponent call AutoLog = true; log = new CarverLabUtility.Logger("EncodingService"); }
public Launcher() { IsDone = false; m_log = new CarverLabUtility.Logger("EncodingServiceMonitor",true); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { components = new System.ComponentModel.Container(); this.ServiceName = "WMEncService"; log = new CarverLabUtility.Logger(this.ServiceName); }
public EncodeLauncher() { log = new CarverLabUtility.Logger("EncodingService"); //ActiveThreadCount = 0; }