public class Client extends Inventor
In the case of the SoRemoteVizClient
node, a client represents a single instance of the application using the node.
A client has one or multiple connections.
RemoteViz is protected by the Open Inventor license key mechanism limiting its usage to specified computers or network environments based on commercial agreements. RemoteViz uses floating license. For each connected client to a RemoteViz service, it requires one Open Inventor license, one RemoteViz license and if Open inventor extensions are used in the RemoteViz service, a license of the extension is also required for each connected client.
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Modifier and Type | Method and Description |
---|---|
void |
disconnect()
Disconnects the client.
|
java.lang.String |
getApplicationName()
HTML5 client: Returns the domain name of the web host which the client is connected.
|
Connection |
getConnection(int index)
Gets a
Connection of the client. |
Connection |
getConnection(java.lang.String id)
Gets a
Connection of the client. |
java.lang.String |
getEnvironment()
HTML5 client: Returns the value of the user-agent header sent by the client web browser.
|
java.lang.String |
getId()
Gets the id of the client.
|
int |
getNumConnections()
Gets the number of the client connections.
|
ClientSettings |
getSettings()
Gets the client settings.
|
boolean |
isImageStreamingSupported()
Returns if the client supports image streaming.
|
boolean |
isVideoStreamingSupported()
Returns if the client supports video streaming.
|
boolean |
sendMessage(java.lang.String message)
Calls sendMessage(message, (com.openinventor.remoteviz.rendering.Connection[])null).
|
boolean |
sendMessage(java.lang.String message,
Connection[] excludedConnections)
Sends a text message to all the connections of the client.
|
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public boolean sendMessage(java.lang.String message)
public Connection getConnection(java.lang.String id)
Connection
of the client.
id
- : ID identifying the client
public ClientSettings getSettings()
public boolean isImageStreamingSupported()
public java.lang.String getId()
public java.lang.String getApplicationName()
SoRemoteVizClient
node: Returns the string "SoRemoteVizClient".
public boolean isVideoStreamingSupported()
public java.lang.String getEnvironment()
SoRemoteVizClient
node: Returns the operating system (OS) running the client application.
public boolean sendMessage(java.lang.String message, Connection[] excludedConnections)
message
- : the message to be sent to all the connections of the client
excludedConnections
- : the connections that will not receive the message.
num
- : number of excluded connections
public Connection getConnection(int index)
Connection
of the client.
index
- : index identifying the client
public void disconnect()
public int getNumConnections()
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com