Record Class RpcCall
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.common.rpc.RpcCall
- Record Components:
moduleId-PLATFORM_MODULE_IDfor 'platform' level calls, otherwise the module ID.packageId- An arbitrary string acting as a namespace within the module.function- The name, case-sensitive, of the function to be invoked. Overloads are not differentiated.
public record RpcCall(@NotNull String moduleId, @NotNull String packageId, @NotNull String function)
extends Record
Metadata for a given RPC call, identifying the target function to be invoked.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.@NotNull Stringfunction()Returns the value of thefunctionrecord component.final inthashCode()Returns a hash code value for this object.@NotNull StringmoduleId()Returns the value of themoduleIdrecord component.@NotNull StringReturns the value of thepackageIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
moduleId
Returns the value of themoduleIdrecord component.- Returns:
- the value of the
moduleIdrecord component
-
packageId
Returns the value of thepackageIdrecord component.- Returns:
- the value of the
packageIdrecord component
-
function
Returns the value of thefunctionrecord component.- Returns:
- the value of the
functionrecord component
-