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 TypeMethodDescriptionboolean
Gets the arguments to pass to the remote method when invoking.Indicates theDispatch.Type
used 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.int
hashCode()
void
setArguments
(List<Object> arguments) Sets the arguments to pass to the remote method when invoking.void
setDispatchType
(Dispatch.Type dispatchType) Sets theDispatch.Type
used to send this invocation.void
Sets the name of the remote method to invoke.void
Sets the name of the remote object to invoke.void
setParameters
(List<String> parameters) Sets a listing of the names of the method parameters.void
Sets 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.Type
used to send this invocation. This can be used to hint how the invocation can be routed.- Returns:
- the
Dispatch.Type
-
setDispatchType
Sets theDispatch.Type
used to send this invocation. This can be used to hint how the invocation can be routed. -
equals
-
hashCode
public int hashCode() -
toString
-