public interface RemoteMethod
RemoteObject.getMethod and RemoteObject.getMethods.| Modifier and Type | Method and Description |
|---|---|
void |
changeReturnType(java.lang.Class newReturnType)
Changes the return type of the method.
|
void |
changeReturnType(java.lang.String newReturnType)
Changes the return type of the method.
|
java.lang.String[] |
getArgTypes()
returns String array with classnames of all argumens of this method.
|
java.lang.String |
getName()
returns the name of the method.
|
java.lang.Object |
invoke(java.lang.Object[] args,
boolean serflag)
Executes the method on the server.
|
java.lang.Object |
invoke(java.lang.Object[] args,
boolean serflag,
java.lang.Class loader)
Executes the method on the server.
|
java.lang.String |
toString()
Overwrites java.lang.Object toString() method.
|
java.lang.Object invoke(java.lang.Object[] args,
boolean serflag,
java.lang.Class loader)
throws PMPException
args - parameters' valuesserflag - specifies how the method result should be returned. If true,
return as Serializable or com.prosyst.util.io.Externalizable.
Else return as RemoteObject.
If the return type is void this parameter is ignored.loader - the class to load return type. If this parameter is null
then the default class loading is used.PMPException - If an IOException occred or if the method throwed an
exception on the Framework.java.lang.Object invoke(java.lang.Object[] args,
boolean serflag)
throws PMPException
args - parameters' valuesserflag - specifies how the method result should be returned. If true,
return as Serializable or com.prosyst.util.io.Externalizable.
Else return as RemoteObject.
If the return type is void this parameter is ignored.PMPException - If an IOException occred or if the method throwed an
exception on the Framework.void changeReturnType(java.lang.String newReturnType)
newReturnType - The new return type class name.void changeReturnType(java.lang.Class newReturnType)
newReturnType - The new return type class name.java.lang.String getName()
java.lang.String[] getArgTypes()
java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2019 Bosch Software Innovations GmbH. All Rights Reserved.