Example #1
0
 protected NodeEndpoint(N Node, SystemUri Identifier, Type EndpointType, EndpointRole Role)
 {
     this.Node         = Node;
     this.Identifier   = Identifier;
     this.Role         = Role;
     this.EndpointType = EndpointType;
 }
Example #2
0
 protected SystemNode(string NodeName, SystemNodeIdentifier NodeIdentifier, string NodeServer, int?Port = null, bool IsLocal = false)
 {
     this.NodeName       = NodeName;
     this.NodeIdentifier = NodeIdentifier;
     this.NodeServer     = NodeServer;
     this.Port           = Port;
     this.IsLocal        = IsLocal;
 }
Example #3
0
 public AgentNotification(SystemNodeIdentifier Host, SystemIdentifier System,
                          AgentIdentifier Agent, ServiceAgentState State, IAppMessage Message)
 {
     this.Host    = Host;
     this.System  = System;
     this.Agent   = Agent;
     this.State   = State;
     this.Message = Message;
 }
Example #4
0
 protected SystemNode(string NodeName, SystemNodeIdentifier NodeIdentifier, string NodeServer, string NetworkName, string ExternalIP,
                      int?Port = null, bool IsLocal = false)
 {
     this.NodeName       = NodeName;
     this.NodeServer     = NodeServer;
     this.NodeIdentifier = NodeIdentifier;
     this.NetworkName    = NetworkName;
     this.ExternalIP     = ExternalIP;
     this.Port           = Port;
     this.IsLocal        = IsLocal;
 }
Example #5
0
 public NodeFolderIdentifier(I NodeIdentifier, RelativePath Folder)
 {
     this.NodeIdentifier = NodeIdentifier;
     this.Folder         = Folder;
 }
Example #6
0
    /// <summary>
    /// Renders a message for display
    /// </summary>
    /// <param name="Message"></param>
    /// <param name="Orignator"></param>
    /// <returns></returns>
    public static string Format(this IAppMessage Message, SystemNodeIdentifier Orignator)
    {
        var tsFmt = Message.Timestamp.FormatTimestamp();

        return(concat(tsFmt, " ", Orignator, "> ", Message.Format(false)));
    }
Example #7
0
 protected SystemNode(string NodeName, SystemNodeIdentifier NodeIdentifier, string NodeServer)
 {
     this.NodeName       = NodeName;
     this.NodeServer     = NodeServer;
     this.NodeIdentifier = NodeIdentifier;
 }
Example #8
0
 public NodeVariable(N NodeId, string VariableName, string VariableValue)
 {
     this.NodeId        = NodeId;
     this.VariableName  = VariableName;
     this.VariableValue = VariableValue;
 }
Example #9
0
 protected NodeCommand(N Source, N Target)
 {
     this.Source   = Source;
     this.Target   = Target;
     this.SpecName = ToString();
 }