public class Connection extends Inventor
Client
to a RenderArea
managed by the RemoteViz service.Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the connection.
|
Client |
getClient()
Gets the id of the client associated with the connection.
|
int |
getContainerHeight()
Gets the client container height.
|
int |
getContainerWidth()
Gets the client container width.
|
java.lang.String |
getId()
Gets the id of the connection.
|
EncodedFrame |
getLastEncodedFrame()
Gets the last encoded frame sent by the connection.
|
ConnectionParameters |
getParameters()
Gets the connection parameters (field-value pairs included in the url during the client connection).
|
RenderArea |
getRenderArea()
Gets the
RenderArea associated with the connection. |
int |
getRequestedHeight()
Gets the last renderArea height requested by the client.
|
int |
getRequestedWidth()
Gets the last renderArea width requested by the client.
|
ConnectionSettings |
getSettings()
Gets the connection settings.
|
boolean |
sendMessage(java.lang.String message)
Sends a text message to the client.
|
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public RenderArea getRenderArea()
RenderArea
associated with the connection.
public int getRequestedWidth()
public ConnectionParameters getParameters()
public ConnectionSettings getSettings()
public java.lang.String getId()
public EncodedFrame getLastEncodedFrame()
public boolean sendMessage(java.lang.String message)
message
- : the message to be sent to the client
public Client getClient()
public int getContainerHeight()
public int getRequestedHeight()
public void close()
public int getContainerWidth()
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com