Interface Class |
Namespace: Network.Sim.Core
public class Interface
The Interface type exposes the following members.
Name | Description | |
---|---|---|
![]() | Interface(Nic, String, String, String) |
Initializes a new instance of the Interface class using the specified
parameters.
|
![]() | Interface(Nic, String, IpAddress, IpAddress, IpAddress) |
Initializes a new instance of the Interface class using the specified
parameters.
|
Name | Description | |
---|---|---|
![]() | FullName |
The full name including Host prefix. This is only used for printing
to the simulation console.
|
![]() | Gateway |
The default gateway of the interface.
|
![]() | Hostname |
The hostname set on the interface.
|
![]() | IpAddress |
The logical layer-3 IP address of the interface.
|
![]() | MaximumTransmissionUnit |
The maximum transmission unit (MTU) of the data-link layer
implementation of the NIC.
|
![]() | Name |
The name associated with the interface.
|
![]() | Netmask |
The subnet mask of the interface.
|
![]() | Nic |
The NIC that is associated with the interface.
|
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Output |
Hands down the specified data to the data-link layer implementation of the NIC.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | DataReceivedEvent |
The event that is raised when the interface has received new data.
|
![]() | SendFifoEmptyEvent |
The event that is raised when the output FIFO of the NIC has been
fully consumed.
|