IoNode

open class IoNode : CoatyObject

Represents an IO node with IO sources and IO actors for IO routing.

The name of an IO node equals the name of the IO context it is associated with. An IO node also contains node-specific characteristics used by IO routers to manage routes.

Class registration.

  • Undocumented

    Declaration

    Swift

    override open class var objectType: String { get }

Attributes.

  • Note

    This comment refers to the property name of superclass CoatyObject, since Swift does not support overridden comments

    The name of the IO context, that this IO node is associated with. The IO sources belonging to this IO node.

    Declaration

    Swift

    public var ioSources: [IoSource]
  • The IO actors belonging to this IO node.

    Declaration

    Swift

    public var ioActors: [IoActor]
  • Node-specific characteristics defined by application (optional). Can be used by IO routers to manage routes.

    Declaration

    Swift

    public var characteristics: [String : Any]?

Codable methods.

  • Undocumented

    Declaration

    Swift

    public required init(from decoder: Decoder) throws
  • Undocumented

    Declaration

    Swift

    open override func encode(to encoder: Encoder) throws