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 EncodedFrame getLastEncodedFrame()
public ConnectionParameters getParameters()
public ConnectionSettings getSettings()
public int getContainerWidth()
public java.lang.String getId()
public void close()
public Client getClient()
public int getRequestedHeight()
public int getContainerHeight()
public RenderArea getRenderArea()
RenderArea
associated with the connection.
public boolean sendMessage(java.lang.String message)
message
- : the message to be sent to the client
public int getRequestedWidth()
Generated on August 20, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com