Show / Hide Table of Contents

    Class NodeInstance

    Represents a single instance of "Sentinet" node. All instances of the same node are sharing the same identities and base addresses, and hosting the same virtual services.

    Inheritance
    Object
    DomainObjectBase
    NodeInstance
    Implements
    IValidator
    IExtensibleDataObject
    IEquatable<NodeInstance>
    Inherited Members
    DomainObjectBase.IsValidElementName(String)
    DomainObjectBase.AreEqual(Nullable<DateTime>, Nullable<DateTime>)
    DomainObjectBase.Equals(DomainObjectBase)
    DomainObjectBase.ToString()
    DomainObjectBase.Id
    DomainObjectBase.Key
    DomainObjectBase.Created
    DomainObjectBase.Updated
    DomainObjectBase.IsMajorObject
    DomainObjectBase.ErrorMessage
    DomainObjectBase.ExtensionData
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Nevatech.Vsb.Repository.Entities
    Assembly: Nevatech.Vsb.Repository.dll
    Syntax
    public sealed class NodeInstance : DomainObjectBase, IValidator, IExtensibleDataObject, IEquatable<NodeInstance>

    Constructors

    NodeInstance()

    Declaration
    public NodeInstance()

    Properties

    ClientAddress

    Gets or sets the IP address of the hosting computer used to call the repository service.

    Declaration
    public string ClientAddress { get; set; }
    Property Value
    Type Description
    String

    Information

    Gets or sets the node instance installation details (host name, OS version, etc).

    Declaration
    public string Information { get; set; }
    Property Value
    Type Description
    String

    LastHeartbeat

    Gets or sets the last heartbeat time of the instance.

    Declaration
    public DateTime LastHeartbeat { get; set; }
    Property Value
    Type Description
    DateTime

    LastReportedStatus

    Gets or sets the last status reported by the instance.

    Declaration
    public OperationalStatus LastReportedStatus { get; set; }
    Property Value
    Type Description
    OperationalStatus

    MachineName

    Gets or sets the NetBIOS name of the hosting computer.

    Declaration
    public string MachineName { get; set; }
    Property Value
    Type Description
    String

    Name

    Gets or sets the unique instance name.

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    String

    NodeId

    Gets or sets the node identifier this instance belongs to.

    Declaration
    public int NodeId { get; set; }
    Property Value
    Type Description
    Int32

    ObjectType

    Gets object type identifier.

    Declaration
    public override EntityType ObjectType { get; }
    Property Value
    Type Description
    EntityType
    Overrides
    DomainObjectBase.ObjectType

    RuntimeVersion

    Gets or sets the "Sentinet" version number installed on the hosting computer.

    Declaration
    public string RuntimeVersion { get; set; }
    Property Value
    Type Description
    String

    Status

    Gets current effective status of the node.

    Declaration
    public OperationalStatus Status { get; }
    Property Value
    Type Description
    OperationalStatus

    Methods

    Equals(NodeInstance)

    Determines whether the specified node instance is equal to the current one.

    Declaration
    public bool Equals(NodeInstance other)
    Parameters
    Type Name Description
    NodeInstance other

    The node instance to compare with the current one.

    Returns
    Type Description
    Boolean

    True, if node instances are equal. False, if node instances are not equal.

    Equals(Object)

    Determines whether the specified object is equal to the current object.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj

    The object to compare with the current object.

    Returns
    Type Description
    Boolean

    True, if objects are equal. False, if objects are not equal.

    Overrides
    DomainObjectBase.Equals(Object)

    GetHashCode()

    Returns the hash code for this instance.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32

    Hash code of the current instance.

    Overrides
    DomainObjectBase.GetHashCode()

    Validate()

    Evaluates the state of this object.

    Declaration
    public override bool Validate()
    Returns
    Type Description
    Boolean

    True if state is valid; otherwise, false.

    Overrides
    DomainObjectBase.Validate()

    Implements

    IValidator
    System.Runtime.Serialization.IExtensibleDataObject
    System.IEquatable<T>
    Back to top Nevatech Sentinet 6.5 Online Documentation