Class GenericRPCClient


public class GenericRPCClient extends Generic
gRPC client for the Generic component
  • Constructor Details

    • GenericRPCClient

      public GenericRPCClient(String name, Channel chan)
  • Method Details

    • doCommand

      public com.google.protobuf.Struct doCommand(Map<String,com.google.protobuf.Value> command)
      Description copied from class: Resource
      Send/Receive arbitrary commands to the Resource
      Overrides:
      doCommand in class Resource
      Parameters:
      command - the command to execute
      Returns:
      result of the executed command
    • getGeometries

      public List<Common.Geometry> getGeometries(Optional<com.google.protobuf.Struct> extra)
      Description copied from class: Component
      Get all geometries associated with the Component, in their current configuration, in the frame of the Component.
      Overrides:
      getGeometries in class Component
      Returns:
      the geometries associated with the Component