Record Class RpcCall
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.common.rpc.RpcCall
- Record Components:
moduleId
-PLATFORM_MODULE_ID
for '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 boolean
Indicates whether some other object is "equal to" this one.@NotNull String
function()
Returns the value of thefunction
record component.final int
hashCode()
Returns a hash code value for this object.@NotNull String
moduleId()
Returns the value of themoduleId
record component.@NotNull String
Returns the value of thepackageId
record component.final String
toString()
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 themoduleId
record component.- Returns:
- the value of the
moduleId
record component
-
packageId
Returns the value of thepackageId
record component.- Returns:
- the value of the
packageId
record component
-
function
Returns the value of thefunction
record component.- Returns:
- the value of the
function
record component
-