Interface CommandContext

All Superinterfaces:
Context, EntityContext, MetadataContext, ReplicatedEntityContext

public interface CommandContext extends ReplicatedEntityContext, MetadataContext
Command context for Replicated Entity.
  • Method Details

    • commandId

      long commandId()
      The id of the command. This is an internal ID generated by the proxy, and is unique to a given entity stream. It may be used for debugging purposes.
      Returns:
      The ID of the command.
    • commandName

      String commandName()
      The name of the command.

      Corresponds to the name of the rpc call in the protobuf definition.

      Returns:
      The name of the command.