DVTk API
Hl7ThreadForHl7Server Class
DVTkDvtk.IheActors.Hl7Hl7ThreadForHl7Server
DVTk API

[This is preliminary documentation and is subject to change.]

Summary description for Hl7ThreadForHl7Server.
Declaration Syntax
C#Visual BasicVisual C++
public class Hl7ThreadForHl7Server : Hl7Thread
Public Class Hl7ThreadForHl7Server _
	Inherits Hl7Thread
public ref class Hl7ThreadForHl7Server : public Hl7Thread
Members
All MembersConstructorsMethodsPropertiesFieldsEvents



IconMemberDescription
Hl7ThreadForHl7Server(Hl7Server)
Class Constructor.

AfterChildThreadsFinished()()() (Inherited from Hl7Thread.)
AfterHandlingException(Exception)
Called after the HandleException method has been called.
(Inherited from Thread.)
BeforeHandlingException(Exception)
Called before the HandleException method will be called.
(Inherited from Thread.)
childs
The child Threads.
(Inherited from Thread.)
ClearMessages()()()
Clears the list of received and send messages.
(Inherited from Thread.)
DetermineIdentifier()()()
Determines the Identifier (property of the Options of this Thread).
(Inherited from Thread.)
DetermineName()()()
Determines the Name of the instance.
(Inherited from Thread.)
DetermineResultsFileNameOnlyWithoutExtension()()() (Inherited from Thread.)
DisplayException(Exception)
Displays information about an unhandled exception occuring in this instance.
(Inherited from Thread.)
dotNetThread
The .Net thread that performs the actual execution in a seperate thread.
(Inherited from Thread.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Execute()()() (Overrides Thread.Execute()()().)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
HandleExeption(Exception)
Handles an unhandled exception in the Execute method. When the Stop method (which also indirectly causes an exception) was not called, information about the exception will be logged in the results.
(Inherited from Thread.)
HasBeenStarted
Indicates if this Thread has been started.
(Inherited from Thread.)
hasExceptionOccured
See property HasExceptionOccured.
(Inherited from Thread.)
HasExceptionOccured
Indicates if an unhandled exception has occured during execution of the Thread.
(Inherited from Thread.)
hl7Logger (Inherited from Hl7Thread.)
Initialize(ThreadManager)
Initialize this object as a DicomThread with no parent thread.
(Inherited from Hl7Thread.)
Initialize(Thread)
Initialize this object as a DicomThread with a parent thread.
(Inherited from Hl7Thread.)
initialMillisecondsToWait
Initial number of milliseconds to wait before executing code in the thread.
(Inherited from Thread.)
isInitialized
Boolean indicating if one of the Initialize methods has already been called.
(Inherited from Thread.)
IsStopCalled
Indicates if the Stop method of this object has been called.
(Inherited from Thread.)
LogError(String)
Log error to the results.
(Inherited from Hl7Thread.)
LogInformation(String)
Log information to the results.
(Inherited from Hl7Thread.)
LogWarning(String)
Log warning to the results.
(Inherited from Hl7Thread.)
MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
messages
All messages that have been send or received. When needed, messages may be removed using the RemoveMessage or ClearMessages methods. When using this private field within this class, always lock the MessageLock of the ThreadManager first.
(Inherited from Thread.)
NrErrors
Property - get the total number of errors reported to this thread.
(Inherited from Hl7Thread.)
NrWarnings
Property - get the total number of warnings reported to this thread.
(Inherited from Hl7Thread.)
Options (Inherited from Hl7Thread.)
parent
The parent thread if existing. Otherwise null.
(Inherited from Thread.)
Parent
Gets the parent Thread.
(Inherited from Thread.)
RemoveMessage(Message)
Removes this message from the list of received and send messages.
(Inherited from Thread.)
ResultsGatheringStarted
Indicates if results gathering has started.
(Inherited from Thread.)
Sleep(Int32)
Makes the thread sleep for a specified number of milliseconds.
(Inherited from Thread.)
Start()()()
Starts the Thread without an initial number of milliseconds to wait.
(Inherited from Thread.)
Start(Int32)
Start the Thread and wait an initial number of milleseconds before executing the code that is defined in the overriden Execute method.
(Inherited from Thread.)
StartResultsGathering()()() (Inherited from Hl7Thread.)
Stop()()()
Stops this object and all child threads.
(Inherited from Thread.)
StopCurrentThread()()()
Stop the current thread only: - Terminate any open connection - If that doesn't work, Abort the .netThread associated with this object. This method will be called in a seperate .Net thread (not in the .Net thread of this object). A seperate thread is used to make sure other threads are not waiting while this code is executed.
(Inherited from Hl7Thread.)
StopResultsGathering()()() (Inherited from Hl7Thread.)
threadLock
Use this object to lock fields that may be accessed simultaniously by multiple .Net threads.
(Inherited from Thread.)
ThreadManager
Gets the ThreadManager that manages this Thread.
(Inherited from Thread.)
threadOptions
This field must be set by a descendant of this class,
(Inherited from Thread.)
ThreadState
Gets the current ThreadState of this object.
(Inherited from Thread.)
ThreadStateChangeEvent
This event is triggered whenever the ThreadState changes for this object.
(Inherited from Thread.)
TopmostThread
Gets the topmost Thread, considering the parent relation. If this thread does not have a parent, this object itself is the topmost thread.
(Inherited from Thread.)
ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
TriggerErrorOutputEvent(String)
Call this method when this object should output an error. Must be called by a descendant of this class when some error output is available.
(Inherited from Thread.)
TriggerInformationOutputEvent(String)
Call this method when this object should output information. Must be called by a descendant of this class when some information output is available.
(Inherited from Thread.)
TriggerWarningOutputEvent(String)
Call this method when this object should output a warning. Must be called by a descendant of this class when some warning output is available.
(Inherited from Thread.)
UpdateValidationErrorCount(Int32)
Update the Validation Error count by the errorCount given.
(Inherited from Hl7Thread.)
UpdateValidationWarningCount(Int32)
Update the Validation Warning count by the warningCount given.
(Inherited from Hl7Thread.)
WaitForCompletion()()()
Waits until this object has the ThreadState UnStarted or Stopped.
(Inherited from Thread.)
WaitForCompletionChildThreads()()()
Waits until all child Threads are either unstarted or stopped.
(Inherited from Thread.)
WriteError(String)
Write an error to the results.
(Inherited from Hl7Thread.)
WriteInformation(String)
Write information to the results.
(Inherited from Hl7Thread.)
WriteWarning(String)
Write a warning to the results.
(Inherited from Hl7Thread.)
WriteXmlStringToResults(String)
Write the given XML string to the results file without further interpretation.
(Inherited from Hl7Thread.)
Inheritance Hierarchy
Object
Thread
 Hl7Thread
  Hl7ThreadForHl7Server

Assembly: DvtkIheActors (Module: DvtkIheActors) Version: 0.0.0.0