Click or drag to resize
Host Class
Represents a network host.
Inheritance Hierarchy
SystemObject
  Network.Sim.CoreHost

Namespace: Network.Sim.Core
Assembly: Network.Sim (in Network.Sim.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class Host

The Host type exposes the following members.

Constructors
  NameDescription
Public methodHost
Initializes a new instance of the Host class.
Top
Properties
  NameDescription
Public propertyHostname
The host's name.
Public propertyInterfaces
A collection of network interfaces installed in the host.
Public propertyNetwork
The IP stack instance of the host.
Public propertyNodalProcessingDelay
The nodal processing delay imposed by the host's processing speed, in nanoseconds.
Public propertyRoutes
An enumerable collection of routes present in the host's routing table.
Top
Methods
  NameDescription
Public methodAddRoute(Route, NullableInt32)
Adds a route to the host's routing table.
Public methodAddRoute(String, String, Interface, Int32, NullableInt32)
Adds a route to the host's routing table.
Public methodAddRoute(String, String, String, Int32, NullableInt32)
Adds a route to the host's routing table.
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 methodOutput
Sends the specified data to the specified destination address through the specified local interface.
Public methodRegisterInterface
Registers a new network interface with the host.
Public methodRemoveRoute(Int32)
Removes the route at the specified row number from the host's routing table.
Public methodRemoveRoute(Route)
Removes the specified route from the host's routing table.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also