Search Results for

    Show / Hide Table of Contents

    Class MorpheoOptions

    Configuration options for the Morpheo node.

    Inheritance
    object
    MorpheoOptions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Morpheo.Sdk
    Assembly: Morpheo.Sdk.dll
    Syntax
    public class MorpheoOptions

    Fields

    | Edit this page View Source

    DEFAULT_PORT

    Declaration
    public const int DEFAULT_PORT = 5555
    Field Value
    Type Description
    int

    Properties

    | Edit this page View Source

    Capabilities

    Gets or sets the list of node capabilities.

    Declaration
    public List<string> Capabilities { get; set; }
    Property Value
    Type Description
    List<string>
    | Edit this page View Source

    CompactionInterval

    Gets or sets the frequency of the log Garbage Collector execution. Default is 1 hour.

    Declaration
    public TimeSpan CompactionInterval { get; set; }
    Property Value
    Type Description
    TimeSpan
    | Edit this page View Source

    DiscoveryInterval

    Gets or sets the network discovery interval. Default is 3 seconds.

    Declaration
    public TimeSpan DiscoveryInterval { get; set; }
    Property Value
    Type Description
    TimeSpan
    | Edit this page View Source

    DiscoveryPort

    Gets or sets the port used for discovery. Default is 5555.

    Declaration
    public int DiscoveryPort { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    Hosting

    Configuration for "White Label" hosting (Windows Service, Linux Daemon, Android Notification).

    Declaration
    public HostingOptions Hosting { get; }
    Property Value
    Type Description
    HostingOptions
    | Edit this page View Source

    LocalStoragePath

    Gets or sets the local storage path.

    Declaration
    public string? LocalStoragePath { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    LogRetention

    Gets or sets the duration to keep synchronization logs before cleanup. Default is 30 days.

    Declaration
    public TimeSpan LogRetention { get; set; }
    Property Value
    Type Description
    TimeSpan
    | Edit this page View Source

    NodeName

    Gets or sets the name of the node. Default is the machine name.

    Declaration
    public string NodeName { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Printers

    Gets the printer configuration options.

    Declaration
    public PrinterOptions Printers { get; }
    Property Value
    Type Description
    PrinterOptions
    | Edit this page View Source

    Role

    Gets or sets the role of the node. Default is StandardClient.

    Declaration
    public NodeRole Role { get; set; }
    Property Value
    Type Description
    NodeRole
    | Edit this page View Source

    UseSecureConnection

    Gets or sets a value indicating whether to use a secure connection. Default is false.

    Declaration
    public bool UseSecureConnection { get; set; }
    Property Value
    Type Description
    bool

    Methods

    | Edit this page View Source

    Validate()

    Validates the configuration options.

    Declaration
    public void Validate()
    Exceptions
    Type Condition
    ArgumentException

    Thrown when the port is invalid.

    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2025 DEHER Rémi - Propulsé par .NET 10