protected override void GetColorComponents(IDvInvocation aInvocation, uint aColor, out uint aBrightness, out uint aRed, out uint aGreen, out uint aBlue) { aBrightness = aColor >> 24; aRed = aColor >> 16; aGreen = aColor >> 8; aBlue = aColor & 0xff; }
protected override void Increment(IDvInvocation aInvocation, uint aValue, out uint aResult) { uint version = aInvocation.Version(); if (version != 1) throw new Exception(String.Format("Unexpected result - {0} - from IDvInvocation.Version", version)); aResult = aValue + 1; }
protected override void SetMultiple(IDvInvocation aInvocation, uint aValueUint, int aValueInt, bool aValueBool) { PropertiesLock(); SetPropertyVarUint(aValueUint); SetPropertyVarInt(aValueInt); SetPropertyVarBool(aValueBool); PropertiesUnlock(); }
protected override void GetPosition(IDvInvocation aInvocation, uint aIndex, out uint aX, out uint aY, out uint aZ) { Light light = Light(aIndex); aX = light.PosX; aY = light.PosY; aZ = light.PosZ; }
protected override void Increment(IDvInvocation aInvocation, uint aValue, out uint aResult) { uint version = aInvocation.Version(); if (version != 1) { throw new Exception(String.Format("Unexpected result - {0} - from IDvInvocation.Version", version)); } aResult = aValue + 1; }
/// <summary> /// SetColorTemperature action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// SetColorTemperature action for the owning device. /// /// Must be implemented iff EnableActionSetColorTemperature was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aInstanceID"></param> /// <param name="aDesiredColorTemperature"></param> protected virtual void SetColorTemperature(IDvInvocation aInvocation, uint aInstanceID, uint aDesiredColorTemperature) { throw (new ActionDisabledError()); }
/// <summary> /// GetPublicKey action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// GetPublicKey action for the owning device. /// /// Must be implemented iff EnableActionGetPublicKey was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aPublicKey"></param> protected virtual void GetPublicKey(IDvInvocation aInvocation, out string aPublicKey) { throw (new ActionDisabledError()); }
/// <summary> /// GetVolumeDBRange action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// GetVolumeDBRange action for the owning device. /// /// Must be implemented iff EnableActionGetVolumeDBRange was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aInstanceID"></param> /// <param name="aChannel"></param> /// <param name="aMinValue"></param> /// <param name="aMaxValue"></param> protected virtual void GetVolumeDBRange(IDvInvocation aInvocation, uint aInstanceID, string aChannel, out int aMinValue, out int aMaxValue) { throw (new ActionDisabledError()); }
/// <summary> /// GetCurrentConnectionIDs action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// GetCurrentConnectionIDs action for the owning device. /// /// Must be implemented iff EnableActionGetCurrentConnectionIDs was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aConnectionIDs"></param> protected virtual void GetCurrentConnectionIDs(IDvInvocation aInvocation, out string aConnectionIDs) { throw (new ActionDisabledError()); }
/// <summary> /// SetStateVariables action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// SetStateVariables action for the owning device. /// /// Must be implemented iff EnableActionSetStateVariables was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aInstanceID"></param> /// <param name="aRenderingControlUDN"></param> /// <param name="aServiceType"></param> /// <param name="aServiceId"></param> /// <param name="aStateVariableValuePairs"></param> /// <param name="aStateVariableList"></param> protected virtual void SetStateVariables(IDvInvocation aInvocation, uint aInstanceID, string aRenderingControlUDN, string aServiceType, string aServiceId, string aStateVariableValuePairs, out string aStateVariableList) { throw (new ActionDisabledError()); }
/// <summary> /// GetSharpness action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// GetSharpness action for the owning device. /// /// Must be implemented iff EnableActionGetSharpness was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aInstanceID"></param> /// <param name="aCurrentSharpness"></param> protected virtual void GetSharpness(IDvInvocation aInvocation, uint aInstanceID, out uint aCurrentSharpness) { throw (new ActionDisabledError()); }
/// <summary> /// DeviceInfo action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// DeviceInfo action for the owning device. /// /// Must be implemented iff EnableActionDeviceInfo was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aaDeviceInfoXml"></param> protected virtual void DeviceInfo(IDvInvocation aInvocation, out string aaDeviceInfoXml) { throw (new ActionDisabledError()); }
/// <summary> /// PresentationUrl action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// PresentationUrl action for the owning device. /// /// Must be implemented iff EnableActionPresentationUrl was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aValue"></param> protected virtual void PresentationUrl(IDvInvocation aInvocation, out string aValue) { throw (new ActionDisabledError()); }
/// <summary> /// SoftwareVersion action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// SoftwareVersion action for the owning device. /// /// Must be implemented iff EnableActionSoftwareVersion was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aaSoftwareVersion"></param> protected virtual void SoftwareVersion(IDvInvocation aInvocation, out string aaSoftwareVersion) { throw (new ActionDisabledError()); }
/// <summary> /// SoftwareUpdate action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// SoftwareUpdate action for the owning device. /// /// Must be implemented iff EnableActionSoftwareUpdate was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aaAvailable"></param> /// <param name="aaSoftwareVersion"></param> protected virtual void SoftwareUpdate(IDvInvocation aInvocation, out bool aaAvailable, out string aaSoftwareVersion) { throw (new ActionDisabledError()); }
/// <summary> /// MaxBoards action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// MaxBoards action for the owning device. /// /// Must be implemented iff EnableActionMaxBoards was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aaMaxBoards"></param> protected virtual void MaxBoards(IDvInvocation aInvocation, out uint aaMaxBoards) { throw (new ActionDisabledError()); }
/// <summary> /// BoardType action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// BoardType action for the owning device. /// /// Must be implemented iff EnableActionBoardType was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aaIndex"></param> /// <param name="aaBoardNumber"></param> protected virtual void BoardType(IDvInvocation aInvocation, uint aaIndex, out string aaBoardNumber) { throw (new ActionDisabledError()); }
/// <summary> /// ProductId action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// ProductId action for the owning device. /// /// Must be implemented iff EnableActionProductId was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aaProductNumber"></param> protected virtual void ProductId(IDvInvocation aInvocation, out string aaProductNumber) { throw (new ActionDisabledError()); }
/// <summary> /// SetGreenVideoBlackLevel action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// SetGreenVideoBlackLevel action for the owning device. /// /// Must be implemented iff EnableActionSetGreenVideoBlackLevel was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aInstanceID"></param> /// <param name="aDesiredGreenVideoBlackLevel"></param> protected virtual void SetGreenVideoBlackLevel(IDvInvocation aInvocation, uint aInstanceID, uint aDesiredGreenVideoBlackLevel) { throw (new ActionDisabledError()); }
/// <summary> /// Metadata action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// Metadata action for the owning device. /// /// Must be implemented iff EnableActionMetadata was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aValue"></param> protected virtual void Metadata(IDvInvocation aInvocation, out string aValue) { throw (new ActionDisabledError()); }
/// <summary> /// SetRedVideoGain action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// SetRedVideoGain action for the owning device. /// /// Must be implemented iff EnableActionSetRedVideoGain was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aInstanceID"></param> /// <param name="aDesiredRedVideoGain"></param> protected virtual void SetRedVideoGain(IDvInvocation aInvocation, uint aInstanceID, uint aDesiredRedVideoGain) { throw (new ActionDisabledError()); }
/// <summary> /// Audio action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// Audio action for the owning device. /// /// Must be implemented iff EnableActionAudio was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aValue"></param> protected virtual void Audio(IDvInvocation aInvocation, out bool aValue) { throw (new ActionDisabledError()); }
/// <summary> /// MacAddress action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// MacAddress action for the owning device. /// /// Must be implemented iff EnableActionMacAddress was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aaMacAddress"></param> protected virtual void MacAddress(IDvInvocation aInvocation, out string aaMacAddress) { throw (new ActionDisabledError()); }
/// <summary> /// Attributes action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// Attributes action for the owning device. /// /// Must be implemented iff EnableActionAttributes was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aValue"></param> protected virtual void Attributes(IDvInvocation aInvocation, out string aValue) { throw (new ActionDisabledError()); }
/// <summary> /// GetVerticalKeystone action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// GetVerticalKeystone action for the owning device. /// /// Must be implemented iff EnableActionGetVerticalKeystone was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aInstanceID"></param> /// <param name="aCurrentVerticalKeystone"></param> protected virtual void GetVerticalKeystone(IDvInvocation aInvocation, uint aInstanceID, out int aCurrentVerticalKeystone) { throw (new ActionDisabledError()); }
/// <summary> /// Time action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// Time action for the owning device. /// /// Must be implemented iff EnableActionTime was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aTrackCount"></param> /// <param name="aDuration"></param> /// <param name="aSeconds"></param> protected virtual void Time(IDvInvocation aInvocation, out uint aTrackCount, out uint aDuration, out uint aSeconds) { throw (new ActionDisabledError()); }
/// <summary> /// SelectPreset action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// SelectPreset action for the owning device. /// /// Must be implemented iff EnableActionSelectPreset was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aInstanceID"></param> /// <param name="aPresetName"></param> protected virtual void SelectPreset(IDvInvocation aInvocation, uint aInstanceID, string aPresetName) { throw (new ActionDisabledError()); }
/// <summary> /// Subscribe action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// Subscribe action for the owning device. /// /// Must be implemented iff EnableActionSubscribe was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aClientId"></param> /// <param name="aUdn"></param> /// <param name="aService"></param> /// <param name="aRequestedDuration"></param> /// <param name="aSid"></param> /// <param name="aDuration"></param> protected virtual void Subscribe(IDvInvocation aInvocation, string aClientId, string aUdn, string aService, uint aRequestedDuration, out string aSid, out uint aDuration) { throw (new ActionDisabledError()); }
/// <summary> /// GetProtocolInfo action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// GetProtocolInfo action for the owning device. /// /// Must be implemented iff EnableActionGetProtocolInfo was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aSource"></param> /// <param name="aSink"></param> protected virtual void GetProtocolInfo(IDvInvocation aInvocation, out string aSource, out string aSink) { throw (new ActionDisabledError()); }
/// <summary> /// Unsubscribe action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// Unsubscribe action for the owning device. /// /// Must be implemented iff EnableActionUnsubscribe was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aSid"></param> protected virtual void Unsubscribe(IDvInvocation aInvocation, string aSid) { throw (new ActionDisabledError()); }
/// <summary> /// GetIds action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// GetIds action for the owning device. /// /// Must be implemented iff EnableActionGetIds was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aIds"></param> protected virtual void GetIds(IDvInvocation aInvocation, out string aIds) { throw (new ActionDisabledError()); }
/// <summary> /// Renew action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// Renew action for the owning device. /// /// Must be implemented iff EnableActionRenew was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aSid"></param> /// <param name="aRequestedDuration"></param> /// <param name="aDuration"></param> protected virtual void Renew(IDvInvocation aInvocation, string aSid, uint aRequestedDuration, out uint aDuration) { throw (new ActionDisabledError()); }
/// <summary> /// GetSequenceNumber action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// GetSequenceNumber action for the owning device. /// /// Must be implemented iff EnableActionGetSequenceNumber was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aSequenceNumber"></param> protected virtual void GetSequenceNumber(IDvInvocation aInvocation, out uint aSequenceNumber) { throw (new ActionDisabledError()); }
/// <summary> /// GetPropertyUpdates action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// GetPropertyUpdates action for the owning device. /// /// Must be implemented iff EnableActionGetPropertyUpdates was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aClientId"></param> /// <param name="aUpdates"></param> protected virtual void GetPropertyUpdates(IDvInvocation aInvocation, string aClientId, out string aUpdates) { throw (new ActionDisabledError()); }
/// <summary> /// SetContrast action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// SetContrast action for the owning device. /// /// Must be implemented iff EnableActionSetContrast was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aInstanceID"></param> /// <param name="aDesiredContrast"></param> protected virtual void SetContrast(IDvInvocation aInvocation, uint aInstanceID, uint aDesiredContrast) { throw (new ActionDisabledError()); }
/// <summary> /// SetVolumeDB action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// SetVolumeDB action for the owning device. /// /// Must be implemented iff EnableActionSetVolumeDB was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aInstanceID"></param> /// <param name="aChannel"></param> /// <param name="aDesiredVolume"></param> protected virtual void SetVolumeDB(IDvInvocation aInvocation, uint aInstanceID, string aChannel, int aDesiredVolume) { throw (new ActionDisabledError()); }
/// <summary> /// SetMute action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// SetMute action for the owning device. /// /// Must be implemented iff EnableActionSetMute was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aInstanceID"></param> /// <param name="aChannel"></param> /// <param name="aDesiredMute"></param> protected virtual void SetMute(IDvInvocation aInvocation, uint aInstanceID, string aChannel, bool aDesiredMute) { throw (new ActionDisabledError()); }
/// <summary> /// GetContrast action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// GetContrast action for the owning device. /// /// Must be implemented iff EnableActionGetContrast was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aInstanceID"></param> /// <param name="aCurrentContrast"></param> protected virtual void GetContrast(IDvInvocation aInvocation, uint aInstanceID, out uint aCurrentContrast) { throw (new ActionDisabledError()); }
/// <summary> /// SetSharpness action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// SetSharpness action for the owning device. /// /// Must be implemented iff EnableActionSetSharpness was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aInstanceID"></param> /// <param name="aDesiredSharpness"></param> protected virtual void SetSharpness(IDvInvocation aInvocation, uint aInstanceID, uint aDesiredSharpness) { throw (new ActionDisabledError()); }
/// <summary> /// GetMute action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// GetMute action for the owning device. /// /// Must be implemented iff EnableActionGetMute was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aInstanceID"></param> /// <param name="aChannel"></param> /// <param name="aCurrentMute"></param> protected virtual void GetMute(IDvInvocation aInvocation, uint aInstanceID, string aChannel, out bool aCurrentMute) { throw (new ActionDisabledError()); }
/// <summary> /// SetVerticalKeystone action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// SetVerticalKeystone action for the owning device. /// /// Must be implemented iff EnableActionSetVerticalKeystone was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aInstanceID"></param> /// <param name="aDesiredVerticalKeystone"></param> protected virtual void SetVerticalKeystone(IDvInvocation aInvocation, uint aInstanceID, int aDesiredVerticalKeystone) { throw (new ActionDisabledError()); }
/// <summary> /// UglyName action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// UglyName action for the owning device. /// /// Must be implemented iff EnableActionUglyName was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aaUglyName"></param> protected virtual void UglyName(IDvInvocation aInvocation, out string aaUglyName) { throw (new ActionDisabledError()); }
/// <summary> /// GetColorTemperature action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// GetColorTemperature action for the owning device. /// /// Must be implemented iff EnableActionGetColorTemperature was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aInstanceID"></param> /// <param name="aCurrentColorTemperature"></param> protected virtual void GetColorTemperature(IDvInvocation aInvocation, uint aInstanceID, out uint aCurrentColorTemperature) { throw (new ActionDisabledError()); }
/// <summary> /// SetNextAVTransportURI action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// SetNextAVTransportURI action for the owning device. /// /// Must be implemented iff EnableActionSetNextAVTransportURI was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aInstanceID"></param> /// <param name="aNextURI"></param> /// <param name="aNextURIMetaData"></param> protected virtual void SetNextAVTransportURI(IDvInvocation aInvocation, uint aInstanceID, string aNextURI, string aNextURIMetaData) { throw (new ActionDisabledError()); }
/// <summary> /// GetGreenVideoBlackLevel action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// GetGreenVideoBlackLevel action for the owning device. /// /// Must be implemented iff EnableActionGetGreenVideoBlackLevel was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aInstanceID"></param> /// <param name="aCurrentGreenVideoBlackLevel"></param> protected virtual void GetGreenVideoBlackLevel(IDvInvocation aInvocation, uint aInstanceID, out uint aCurrentGreenVideoBlackLevel) { throw (new ActionDisabledError()); }
/// <summary> /// SetRecordQualityMode action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// SetRecordQualityMode action for the owning device. /// /// Must be implemented iff EnableActionSetRecordQualityMode was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aInstanceID"></param> /// <param name="aNewRecordQualityMode"></param> protected virtual void SetRecordQualityMode(IDvInvocation aInvocation, uint aInstanceID, string aNewRecordQualityMode) { throw (new ActionDisabledError()); }
/// <summary> /// GetRedVideoGain action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// GetRedVideoGain action for the owning device. /// /// Must be implemented iff EnableActionGetRedVideoGain was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aInstanceID"></param> /// <param name="aCurrentRedVideoGain"></param> protected virtual void GetRedVideoGain(IDvInvocation aInvocation, uint aInstanceID, out uint aCurrentRedVideoGain) { throw (new ActionDisabledError()); }
/// <summary> /// Stop action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// Stop action for the owning device. /// /// Must be implemented iff EnableActionStop was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aInstanceID"></param> protected virtual void Stop(IDvInvocation aInvocation, uint aInstanceID) { throw (new ActionDisabledError()); }
/// <summary> /// GetStateVariables action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// GetStateVariables action for the owning device. /// /// Must be implemented iff EnableActionGetStateVariables was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aInstanceID"></param> /// <param name="aStateVariableList"></param> /// <param name="aStateVariableValuePairs"></param> protected virtual void GetStateVariables(IDvInvocation aInvocation, uint aInstanceID, string aStateVariableList, out string aStateVariableValuePairs) { throw (new ActionDisabledError()); }
/// <summary> /// Set action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// Set action for the owning device. /// /// Must be implemented iff EnableActionSet was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aId"></param> /// <param name="aUserName"></param> /// <param name="aPassword"></param> protected virtual void Set(IDvInvocation aInvocation, string aId, string aUserName, byte[] aPassword) { throw (new ActionDisabledError()); }
/// <summary> /// GetVolumeDB action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// GetVolumeDB action for the owning device. /// /// Must be implemented iff EnableActionGetVolumeDB was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aInstanceID"></param> /// <param name="aChannel"></param> /// <param name="aCurrentVolume"></param> protected virtual void GetVolumeDB(IDvInvocation aInvocation, uint aInstanceID, string aChannel, out int aCurrentVolume) { throw (new ActionDisabledError()); }
/// <summary> /// Clear action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// Clear action for the owning device. /// /// Must be implemented iff EnableActionClear was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aId"></param> protected virtual void Clear(IDvInvocation aInvocation, string aId) { throw (new ActionDisabledError()); }
/// <summary> /// ListPresets action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// ListPresets action for the owning device. /// /// Must be implemented iff EnableActionListPresets was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aInstanceID"></param> /// <param name="aCurrentPresetNameList"></param> protected virtual void ListPresets(IDvInvocation aInvocation, uint aInstanceID, out string aCurrentPresetNameList) { throw (new ActionDisabledError()); }
/// <summary> /// SetEnabled action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// SetEnabled action for the owning device. /// /// Must be implemented iff EnableActionSetEnabled was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aId"></param> /// <param name="aEnabled"></param> protected virtual void SetEnabled(IDvInvocation aInvocation, string aId, bool aEnabled) { throw (new ActionDisabledError()); }
/// <summary> /// ConnectionComplete action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// ConnectionComplete action for the owning device. /// /// Must be implemented iff EnableActionConnectionComplete was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aConnectionID"></param> protected virtual void ConnectionComplete(IDvInvocation aInvocation, int aConnectionID) { throw (new ActionDisabledError()); }
/// <summary> /// Get action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// Get action for the owning device. /// /// Must be implemented iff EnableActionGet was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aId"></param> /// <param name="aUserName"></param> /// <param name="aPassword"></param> /// <param name="aEnabled"></param> /// <param name="aStatus"></param> /// <param name="aData"></param> protected virtual void Get(IDvInvocation aInvocation, string aId, out string aUserName, out byte[] aPassword, out bool aEnabled, out string aStatus, out string aData) { throw (new ActionDisabledError()); }
/// <summary> /// GetCurrentConnectionInfo action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// GetCurrentConnectionInfo action for the owning device. /// /// Must be implemented iff EnableActionGetCurrentConnectionInfo was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aConnectionID"></param> /// <param name="aRcsID"></param> /// <param name="aAVTransportID"></param> /// <param name="aProtocolInfo"></param> /// <param name="aPeerConnectionManager"></param> /// <param name="aPeerConnectionID"></param> /// <param name="aDirection"></param> /// <param name="aStatus"></param> protected virtual void GetCurrentConnectionInfo(IDvInvocation aInvocation, int aConnectionID, out int aRcsID, out int aAVTransportID, out string aProtocolInfo, out string aPeerConnectionManager, out int aPeerConnectionID, out string aDirection, out string aStatus) { throw (new ActionDisabledError()); }
/// <summary> /// Login action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// Login action for the owning device. /// /// Must be implemented iff EnableActionLogin was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aId"></param> /// <param name="aToken"></param> protected virtual void Login(IDvInvocation aInvocation, string aId, out string aToken) { throw (new ActionDisabledError()); }
/// <summary> /// PrepareForConnection action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// PrepareForConnection action for the owning device. /// /// Must be implemented iff EnableActionPrepareForConnection was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aRemoteProtocolInfo"></param> /// <param name="aPeerConnectionManager"></param> /// <param name="aPeerConnectionID"></param> /// <param name="aDirection"></param> /// <param name="aConnectionID"></param> /// <param name="aAVTransportID"></param> /// <param name="aRcsID"></param> protected virtual void PrepareForConnection(IDvInvocation aInvocation, string aRemoteProtocolInfo, string aPeerConnectionManager, int aPeerConnectionID, string aDirection, out int aConnectionID, out int aAVTransportID, out int aRcsID) { throw (new ActionDisabledError()); }
/// <summary> /// ReLogin action. /// </summary> /// <remarks>Will be called when the device stack receives an invocation of the /// ReLogin action for the owning device. /// /// Must be implemented iff EnableActionReLogin was called.</remarks> /// <param name="aInvocation">Interface allowing querying of aspects of this particular action invocation.</param> /// <param name="aId"></param> /// <param name="aCurrentToken"></param> /// <param name="aNewToken"></param> protected virtual void ReLogin(IDvInvocation aInvocation, string aId, string aCurrentToken, out string aNewToken) { throw (new ActionDisabledError()); }