Class IMethodCallMessageImplementation
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.runtime.remoting.messaging.IMethodCallMessageImplementation
-
- All Implemented Interfaces:
IJCOBridgeReflected
,IMessage
,IMethodCallMessage
,IMethodMessage
public class IMethodCallMessageImplementation extends NetObject implements IMethodCallMessage
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.IMethodCallMessagestatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description IMethodCallMessageImplementation(Object instance)
Internal constructor.
-
Method Summary
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
cast, Equals, Equals, GetHashCode, GetType, hashCode, setJCOInstance, toObjectFromArray, toObjectFromArray, toString, ToString, translateException
-
-
-
-
Field Detail
-
assemblyFullName
public static final String assemblyFullName
Fully assembly qualified name: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final String assemblyShortName
Assembly name: mscorlib- See Also:
- Constant Field Values
-
className
public static final String className
Qualified class name: System.Runtime.Remoting.Messaging.IMethodCallMessage- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOAssemblyName
in interfaceIMessage
- Specified by:
getJCOAssemblyName
in interfaceIMethodCallMessage
- Specified by:
getJCOAssemblyName
in interfaceIMethodMessage
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOClassName
in interfaceIMessage
- Specified by:
getJCOClassName
in interfaceIMethodCallMessage
- Specified by:
getJCOClassName
in interfaceIMethodMessage
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOObjectName
in interfaceIMessage
- Specified by:
getJCOObjectName
in interfaceIMethodCallMessage
- Specified by:
getJCOObjectName
in interfaceIMethodMessage
- Overrides:
getJCOObjectName
in classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Specified by:
getJCOInstance
in interfaceIMessage
- Specified by:
getJCOInstance
in interfaceIMethodCallMessage
- Specified by:
getJCOInstance
in interfaceIMethodMessage
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Specified by:
getJCOType
in interfaceIMessage
- Specified by:
getJCOType
in interfaceIMethodCallMessage
- Specified by:
getJCOType
in interfaceIMethodMessage
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
ToIMethodCallMessage
public 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
-
GetArg
public NetObject GetArg(int argNum) throws Throwable
- Specified by:
GetArg
in interfaceIMethodMessage
- Throws:
Throwable
-
GetInArg
public NetObject GetInArg(int argNum) throws Throwable
- Specified by:
GetInArg
in interfaceIMethodCallMessage
- Throws:
Throwable
-
GetArgName
public String GetArgName(int index) throws Throwable
- Specified by:
GetArgName
in interfaceIMethodMessage
- Throws:
Throwable
-
GetInArgName
public String GetInArgName(int index) throws Throwable
- Specified by:
GetInArgName
in interfaceIMethodCallMessage
- Throws:
Throwable
-
getHasVarArgs
public boolean getHasVarArgs() throws Throwable
- Specified by:
getHasVarArgs
in interfaceIMethodMessage
- Throws:
Throwable
-
getArgCount
public int getArgCount() throws Throwable
- Specified by:
getArgCount
in interfaceIMethodMessage
- Throws:
Throwable
-
getInArgCount
public int getInArgCount() throws Throwable
- Specified by:
getInArgCount
in interfaceIMethodCallMessage
- Throws:
Throwable
-
getProperties
public IDictionary getProperties() throws Throwable
- Specified by:
getProperties
in interfaceIMessage
- Throws:
Throwable
-
getMethodSignature
public NetObject getMethodSignature() throws Throwable
- Specified by:
getMethodSignature
in interfaceIMethodMessage
- Throws:
Throwable
-
getArgs
public final NetObject[] getArgs() throws Throwable
- Specified by:
getArgs
in interfaceIMethodMessage
- Throws:
Throwable
-
getInArgs
public final NetObject[] getInArgs() throws Throwable
- Specified by:
getInArgs
in interfaceIMethodCallMessage
- Throws:
Throwable
-
getMethodBase
public MethodBase getMethodBase() throws Throwable
- Specified by:
getMethodBase
in interfaceIMethodMessage
- Throws:
Throwable
-
getLogicalCallContext
public LogicalCallContext getLogicalCallContext() throws Throwable
- Specified by:
getLogicalCallContext
in interfaceIMethodMessage
- Throws:
Throwable
-
getMethodName
public String getMethodName() throws Throwable
- Specified by:
getMethodName
in interfaceIMethodMessage
- Throws:
Throwable
-
getTypeName
public String getTypeName() throws Throwable
- Specified by:
getTypeName
in interfaceIMethodMessage
- Throws:
Throwable
-
getUri
public String getUri() throws Throwable
- Specified by:
getUri
in interfaceIMethodMessage
- Throws:
Throwable
-
-