Click or drag to resize
Event Class
The abstract base class from which all simulation events must derive.
Inheritance Hierarchy

Namespace: Network.Sim.Core
Assembly: Network.Sim (in Network.Sim.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public abstract class Event : IComparable<Event>

The Event type exposes the following members.

Constructors
  NameDescription
Protected methodEvent
Initializes a new instance of the Event class using the specified timeout value.
Top
Properties
  NameDescription
Public propertySender
A reference to the object that raised the event.
Public propertyTime
The absolute time at which the event fires, in nanoseconds.
Top
Methods
  NameDescription
Public methodCompareTo
Compares this instance to a specified event and returns an indication of their relative timeout values.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRun
The method which executes when the event fires.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also