Difference between revisions of "Extensions.DiagCom.GetDiagServiceFromEvent"

From emotive
Jump to navigation Jump to search
(Created page with "Category:DiagCom == Classification == {{ClassificationActivity | GetDiagServiceFromEvent | Diagnostics service event handler source | Term | DiagCom|OTX DiagCom exte...")
 
Line 5: Line 5:
 
== Pseudo-Code Syntax ==
 
== Pseudo-Code Syntax ==
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
GetDiagServiceFromEvent(Event source, DiagService result);
+
DiagService GetDiagServiceFromEvent(Event source);
 
</syntaxhighlight>
 
</syntaxhighlight>
  

Revision as of 03:13, 18 July 2014

Classification

Name GetDiagServiceFromEvent
Short Description Diagnostics service event handler source
Class Term
Extension OTX DiagCom extension
Group Event related terms
Exceptions TypeMismatchException
Checker Rules -
Standard Compliant Yes

Pseudo-Code Syntax

DiagService GetDiagServiceFromEvent(Event source);

Description

The GetDiagServiceFromEvent term returns associated with the event handling source Diagnostics Service, see Event Library. Thus, this term is the opposite of DiagServiceEventSource term.

Return Value

The Term returns the value, see table below.

Icons Note.png In OTX, Terms are categorized according to its return data type!
Data Type Description
DiagService Diagnostics Service.

Properties

Name Data Type Class Default Cardinality Description
Event Event Term - [1] Represents the event that was raised by the DiagService that shall be retrieved.

Examples

DiagService result = GetDiagServiceFromEvent(event);

See also

DiagServiceEventSource
IsDiagServiceEvent