JuggerNET Runtime Library v3.6.54.0  3.6.54.0
Public Member Functions | Protected Member Functions | Static Protected Attributes | List of all members
Codemesh.JuggerNET.BasePeerMarshaller Class Referenceabstract

A baseclass that provides default implementations for the delegating versions of Marshal() and Unmarshal() and some utility methods. More...

Inheritance diagram for Codemesh.JuggerNET.BasePeerMarshaller:
Inheritance graph
[legend]
Collaboration diagram for Codemesh.JuggerNET.BasePeerMarshaller:
Collaboration graph
[legend]

Public Member Functions

JavaProxy Marshal (object dotNetInstance)
 Marshals a .NET instance into a Java object.
More...
 
JavaProxy Marshal (object dotNetInstance, JavaProxy javaObject)
 Marshals a .NET instance into a Java object.
The Java object may be passed as an optional argument (default is null) More...
 
abstract JavaProxy Marshal (object dotNetInstance, JavaProxy javaInstance, PeerMarshalContext ctx)
 Marshals a .NET instance into a Java object.
The Java object may be passed as an optional argument (default is null) More...
 
object Unmarshal (JavaProxy javaInstance)
 Unmarshals a Java instance into a .NET object. More...
 
abstract object Unmarshal (JavaProxy javaInstance, object dotNetInstance)
 Unmarshals a Java instance into a .NET object. The .NET object may be passed as an optional argument (default is null). More...
 

Protected Member Functions

Hashtable GatherFields (Type type, BindingFlags flags)
 
Hashtable GatherProperties (Type type, BindingFlags flags)
 

Static Protected Attributes

static JavaClass PEER = new JavaClass( "com/codemesh/peer/PeerType", null )
 

Detailed Description

A baseclass that provides default implementations for the delegating versions of Marshal() and Unmarshal() and some utility methods.

<exclude>

Member Function Documentation

◆ Marshal() [1/3]

JavaProxy Codemesh.JuggerNET.BasePeerMarshaller.Marshal ( object  dotNetInstance)
inline

Marshals a .NET instance into a Java object.

Parameters
dotNetInstancethe .NET instance to marshal
Returns

Implements Codemesh.JuggerNET.IPeerMarshaller.

Referenced by Codemesh.JuggerNET.BasePeerMarshaller.Marshal().

◆ Marshal() [2/3]

abstract JavaProxy Codemesh.JuggerNET.BasePeerMarshaller.Marshal ( object  dotNetInstance,
JavaProxy  javaInstance,
PeerMarshalContext  ctx 
)
pure virtual

Marshals a .NET instance into a Java object.
The Java object may be passed as an optional argument (default is null)

Parameters
dotNetInstancethe .NET instance to marshal
javaInstancean optional Java instance to marshal into.
ctxthe marshalling context.
Returns

Implements Codemesh.JuggerNET.IPeerMarshaller.

Implemented in Codemesh.JuggerNET.ReflectionPeerValueMarshaller.

◆ Marshal() [3/3]

JavaProxy Codemesh.JuggerNET.BasePeerMarshaller.Marshal ( object  dotNetInstance,
JavaProxy  javaInstance 
)
inline

Marshals a .NET instance into a Java object.
The Java object may be passed as an optional argument (default is null)

Parameters
dotNetInstancethe .NET instance to marshal
javaInstancean optional Java instance to marshal into.
Returns

Implements Codemesh.JuggerNET.IPeerMarshaller.

References Codemesh.JuggerNET.BasePeerMarshaller.Marshal().

◆ Unmarshal() [1/2]

object Codemesh.JuggerNET.BasePeerMarshaller.Unmarshal ( JavaProxy  javaInstance)
inline

Unmarshals a Java instance into a .NET object.

Parameters
javaInstancethe Java instance to unmarshal.
Returns

Implements Codemesh.JuggerNET.IPeerMarshaller.

◆ Unmarshal() [2/2]

abstract object Codemesh.JuggerNET.BasePeerMarshaller.Unmarshal ( JavaProxy  javaInstance,
object  dotNetInstance 
)
pure virtual

Unmarshals a Java instance into a .NET object. The .NET object may be passed as an optional argument (default is null).

Parameters
javaInstancethe Java instance to unmarshal.
dotNetInstancean optional .NET instance to unmarshal into.
Returns

Implements Codemesh.JuggerNET.IPeerMarshaller.

Implemented in Codemesh.JuggerNET.ReflectionPeerValueMarshaller.


The documentation for this class was generated from the following file:

Copyright (c) 1999-2020 by Codemesh, Inc., ALL RIGHTS RESERVED.