Interface IMethodCallMessage
-
- All Superinterfaces:
IJCOBridgeReflected
,IMessage
,IMethodMessage
- All Known Subinterfaces:
IConstructionCallMessage
- All Known Implementing Classes:
IConstructionCallMessageImplementation
,IMethodCallMessageImplementation
public interface IMethodCallMessage extends IJCOBridgeReflected, IMethodMessage, IMessage
The base .NET class managing System.Runtime.Remoting.Messaging.IMethodCallMessage, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.See: https://docs.microsoft.com/en-us/dotnet/api/System.Runtime.Remoting.Messaging.IMethodCallMessage
-
-
Field Summary
Fields Modifier and Type Field Description static String
assemblyFullName
Fully assembly qualified name: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static String
assemblyShortName
Assembly name: mscorlibstatic String
className
Qualified class name: System.Runtime.Remoting.Messaging.IMethodCallMessage
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description NetObject
GetInArg(int argNum)
int
getInArgCount()
String
GetInArgName(int index)
NetObject[]
getInArgs()
String
getJCOAssemblyName()
Returns the reflected Assembly nameString
getJCOClassName()
Returns the reflected Class nameObject
getJCOInstance()
Returns the instantiated classString
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typestatic IMethodCallMessage
ToIMethodCallMessage(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoIMethodCallMessage
, a cast assert is made to check if types are compatible.-
Methods inherited from interface system.runtime.remoting.messaging.IMessage
getProperties
-
Methods inherited from interface system.runtime.remoting.messaging.IMethodMessage
GetArg, getArgCount, GetArgName, getArgs, getHasVarArgs, getLogicalCallContext, getMethodBase, getMethodName, getMethodSignature, getTypeName, getUri
-
-
-
-
Field Detail
-
assemblyFullName
static final String assemblyFullName
Fully assembly qualified name: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
static final String assemblyShortName
Assembly name: mscorlib- See Also:
- Constant Field Values
-
className
static final String className
Qualified class name: System.Runtime.Remoting.Messaging.IMethodCallMessage- See Also:
- Constant Field Values
-
-
Method Detail
-
ToIMethodCallMessage
static IMethodCallMessage ToIMethodCallMessage(IJCOBridgeReflected from) throws Throwable
Try to cast theIJCOBridgeReflected
instance intoIMethodCallMessage
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
IMethodCallMessage
instance- Throws:
Throwable
- in case of error during cast operation
-
getJCOAssemblyName
String getJCOAssemblyName()
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOAssemblyName
in interfaceIMessage
- Specified by:
getJCOAssemblyName
in interfaceIMethodMessage
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
String getJCOClassName()
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOClassName
in interfaceIMessage
- Specified by:
getJCOClassName
in interfaceIMethodMessage
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
String getJCOObjectName()
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOObjectName
in interfaceIMessage
- Specified by:
getJCOObjectName
in interfaceIMethodMessage
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
Object getJCOInstance()
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Specified by:
getJCOInstance
in interfaceIMessage
- Specified by:
getJCOInstance
in interfaceIMethodMessage
- Returns:
- An
Object
representing the instance of the instantiated Class
-
getJCOType
JCType getJCOType()
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Specified by:
getJCOType
in interfaceIMessage
- Specified by:
getJCOType
in interfaceIMethodMessage
- Returns:
- A
JCType
representing the Type of the instantiated Class
-
-