Module Values.SimulationAppPortMappingSource

A collection of TCP/UDP ports for a custom or service app.

Sourcetype nonrec t = {
  1. actual : PortNumber.t option;
    (*

    The TCP/UDP port number of the running app. SimSpace Weaver dynamically assigns this port number when the app starts. SimSpace Weaver maps the Declared port to the Actual port. Clients connect to the app using the app's IP address and the Actual port number.

    *)
  2. declared : PortNumber.t option;
    (*

    The TCP/UDP port number of the app, declared in the simulation schema. SimSpace Weaver maps the Declared port to the Actual port. The source code for the app should bind to the Declared port.

    *)
}
Sourceval make : ?actual:??? -> ?declared:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of PortNumber.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t