Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
data SimulationAppPortMapping Source #
A collection of TCP/UDP ports for a custom or service app.
See: newSimulationAppPortMapping
smart constructor.
SimulationAppPortMapping' | |
|
Instances
newSimulationAppPortMapping :: SimulationAppPortMapping Source #
Create a value of SimulationAppPortMapping
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:actual:SimulationAppPortMapping'
, simulationAppPortMapping_actual
- 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.
$sel:declared:SimulationAppPortMapping'
, simulationAppPortMapping_declared
- 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.
simulationAppPortMapping_actual :: Lens' SimulationAppPortMapping (Maybe Natural) Source #
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.
simulationAppPortMapping_declared :: Lens' SimulationAppPortMapping (Maybe Natural) Source #
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.