예제 #1
0
        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
        }
예제 #2
0
        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");
        }
예제 #3
0
 public Launcher()
 {
     IsDone = false;
     m_log = new CarverLabUtility.Logger("EncodingServiceMonitor",true);
 }
예제 #4
0
 /// <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);
 }
예제 #5
0
 public EncodeLauncher()
 {
     log = new CarverLabUtility.Logger("EncodingService");
     //ActiveThreadCount = 0;
 }