Class RenderingSession
java.lang.Object
com.azure.mixedreality.remoterendering.models.RenderingSession
Holds the properties of a rendering session.
-
Constructor Summary
ConstructorDescriptionRenderingSession
(String id, int arrInspectorPort, int handshakePort, Duration elapsedTime, String hostname, Duration maxLeaseTime, RenderingSessionSize sessionSize, RenderingSessionStatus sessionStatus, float teraflops, RemoteRenderingServiceError error, OffsetDateTime creationTime) Constructs a new RenderingSession object. -
Method Summary
Modifier and TypeMethodDescriptionint
Get the arrInspectorPort property: The TCP port at which the Azure Remote Rendering Inspector tool is hosted.Get the creationTime property: The time when the rendering session was created.Get the elapsedTime property: Amount of time the session is or has been in Ready state.getError()
Get the error property: The error object containing details about the rendering session startup failure.int
Get the handshakePort property: The TCP port used for the handshake.Get the hostname property: The hostname under which the rendering session is reachable.getId()
Get the id property: The id of the session supplied when the conversion was created.Get the maxLeaseTime property: The time the session will run after reaching the 'Ready' state.getSize()
Get the size property: Size of the server used for the rendering session.Get the status property: The status of the rendering session.float
Get the teraflops property: The computational power of the rendering session GPU measured in Teraflops.
-
Constructor Details
-
RenderingSession
public RenderingSession(String id, int arrInspectorPort, int handshakePort, Duration elapsedTime, String hostname, Duration maxLeaseTime, RenderingSessionSize sessionSize, RenderingSessionStatus sessionStatus, float teraflops, RemoteRenderingServiceError error, OffsetDateTime creationTime) Constructs a new RenderingSession object.- Parameters:
id
- The id of the session supplied when the conversion was created.arrInspectorPort
- The TCP port at which the Azure Remote Rendering Inspector tool is hosted.handshakePort
- The TCP port used for the handshake.elapsedTime
- Amount of time the session is or has been in Ready state. Time is rounded down to a full minute.hostname
- The hostname under which the rendering session is reachable.maxLeaseTime
- The time the session will run after reaching the 'Ready' state.sessionSize
- Size of the server used for the rendering session. Remote Rendering with Standard size server has a maximum scene size of 20 million polygons. Remote Rendering with Premium size does not enforce a hard maximum, but performance may be degraded if your content exceeds the rendering capabilities of the service.sessionStatus
- The status of the rendering session. Once the status reached the 'Ready' state it can be connected to. The terminal state is 'Stopped'.teraflops
- The computational power of the rendering session GPU measured in Teraflops.error
- The error object containing details about the rendering session startup failure.creationTime
- The time when the rendering session was created. Date and time in ISO 8601 format.
-
-
Method Details
-
getId
Get the id property: The id of the session supplied when the conversion was created.- Returns:
- the id value.
-
getArrInspectorPort
public int getArrInspectorPort()Get the arrInspectorPort property: The TCP port at which the Azure Remote Rendering Inspector tool is hosted.- Returns:
- the arrInspectorPort value.
-
getHandshakePort
public int getHandshakePort()Get the handshakePort property: The TCP port used for the handshake.- Returns:
- the handshakePort value.
-
getElapsedTime
Get the elapsedTime property: Amount of time the session is or has been in Ready state. Time is rounded down to a full minute.- Returns:
- the elapsedTime value.
-
getHostname
Get the hostname property: The hostname under which the rendering session is reachable.- Returns:
- the hostname value.
-
getMaxLeaseTime
Get the maxLeaseTime property: The time the session will run after reaching the 'Ready' state.- Returns:
- the maxLeaseTime value.
-
getSize
Get the size property: Size of the server used for the rendering session. Remote Rendering with Standard size server has a maximum scene size of 20 million polygons. Remote Rendering with Premium size does not enforce a hard maximum, but performance may be degraded if your content exceeds the rendering capabilities of the service.- Returns:
- the size value.
-
getStatus
Get the status property: The status of the rendering session. Once the status reached the 'Ready' state it can be connected to. The terminal state is 'Stopped'.- Returns:
- the status value.
-
getTeraflops
public float getTeraflops()Get the teraflops property: The computational power of the rendering session GPU measured in Teraflops.- Returns:
- the teraflops value.
-
getError
Get the error property: The error object containing details about the rendering session startup failure.- Returns:
- the error value.
-
getCreationTime
Get the creationTime property: The time when the rendering session was created. Date and time in ISO 8601 format.- Returns:
- the creationTime value.
-