Class Invocation
java.lang.Object
dev.getelements.elements.rt.remote.Invocation
- All Implemented Interfaces:
Serializable
Represents a remote invocation. This contains enough information to invoke the method remotely.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the arguments to pass to the remote method when invoking.Indicates theDispatch.Typeused to send this invocation.Gets the name of the remote method to invoke.getName()Gets the name of the remote object to invoke.Gets a listing of the names of the method parameters.getType()Gets the string representing the type of the remote object to invoke.inthashCode()voidsetArguments(List<Object> arguments) Sets the arguments to pass to the remote method when invoking.voidsetDispatchType(Dispatch.Type dispatchType) Sets theDispatch.Typeused to send this invocation.voidSets the name of the remote method to invoke.voidSets the name of the remote object to invoke.voidsetParameters(List<String> parameters) Sets a listing of the names of the method parameters.voidSets the string representing the type of the remote object to invoke.toString()
-
Constructor Details
-
Invocation
public Invocation()
-
-
Method Details
-
getType
Gets the string representing the type of the remote object to invoke.- Returns:
- the type
-
setType
Sets the string representing the type of the remote object to invoke.- Parameters:
type- the type
-
getName
Gets the name of the remote object to invoke. .- Returns:
- the name
-
setName
Sets the name of the remote object to invoke. .- Parameters:
name- the name
-
getMethod
Gets the name of the remote method to invoke. .- Returns:
- the name
-
setMethod
Sets the name of the remote method to invoke. .- Parameters:
method- the method name
-
getParameters
Gets a listing of the names of the method parameters. Each parameter is named for theClass<?>it represents. -
setParameters
Sets a listing of the names of the method parameters. Each parameter is named for theClass<?>it represents. -
getArguments
Gets the arguments to pass to the remote method when invoking. . -
setArguments
Sets the arguments to pass to the remote method when invoking. . -
getDispatchType
Indicates theDispatch.Typeused to send this invocation. This can be used to hint how the invocation can be routed.- Returns:
- the
Dispatch.Type
-
setDispatchType
Sets theDispatch.Typeused to send this invocation. This can be used to hint how the invocation can be routed. -
equals
-
hashCode
public int hashCode() -
toString
-