Click or drag to resize
CallbackEvent Class
A simulation event for scheduling the execution of an arbitrary callback method.
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 class CallbackEvent : Event

The CallbackEvent type exposes the following members.

Constructors
  NameDescription
Public methodCallbackEvent
Initializes a new instance of the CallbackEvent class using the specified values.
Top
Properties
  NameDescription
Public propertyCallback
The callback method.
Public propertySender
A reference to the object that raised the event.
(Inherited from Event.)
Public propertyTime
The absolute time at which the event fires, in nanoseconds.
(Inherited from Event.)
Top
Methods
  NameDescription
Public methodCompareTo
Compares this instance to a specified event and returns an indication of their relative timeout values.
(Inherited from Event.)
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.
(Overrides EventRun.)
Public methodToString
Returns a textual description of this instance.
(Overrides ObjectToString.)
Top
See Also