Class SoRemoteVizClient.ServiceMessageEventArg

java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.remoteviz.clients.nodes.SoRemoteVizClient.ServiceMessageEventArg
All Implemented Interfaces:
SbEventArg
Enclosing class:
SoRemoteVizClient

public static class SoRemoteVizClient.ServiceMessageEventArg extends Inventor implements SbEventArg
Structure given when a ServiceMessage event is raised. Please refer to onServiceMessage event.
  • Constructor Details

  • Method Details

    • getState

      Returns the connection state with the service.
    • setValue

      public void setValue(SoRemoteVizClient.ServiceMessageEventArg copyFrom)
    • getSource

      public SoRemoteVizClient getSource()
      Returns the SoRemoteVizClient node that triggered the event.
      Specified by:
      getSource in interface SbEventArg
    • getRenderAreaSize

      public SbVec2s getRenderAreaSize()
      Returns the renderArea size.
    • getDetails

      public String getDetails()
      Returns details of the event. If State is equal to DISCONNECTED: This parameter is the disconnected reason. It can take the following values "DISPOSED", "REFUSED", "KICKED" and "NETWORKFAILURE". If State is equal to FINISH_BANDWIDTH_CALIBRATION: This parameter is the network bandwidth calibration value (in bit/s). Else if State is equal to FINISH_LATENCY_CALIBRATION: This parameter is the network latency calibration value (in ms). Else this parameter is empty.