JuggerNET Runtime Library v3.6.54.0  3.6.54.0
Public Member Functions | List of all members
Codemesh.JuggerNET.IPeerMarshaller Interface Reference

The interface implemented by all peer marshallers/unmarshallers. More...

Inheritance diagram for Codemesh.JuggerNET.IPeerMarshaller:
Inheritance graph
[legend]

Public Member Functions

JavaProxy Marshal (object dotNetInstance)
 Marshals a .NET instance into a Java object.
More...
 
JavaProxy Marshal (object dotNetInstance, JavaProxy javaInstance)
 Marshals a .NET instance into a Java object.
The Java object may be passed as an optional argument (default is null) More...
 
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...
 
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...
 

Detailed Description

The interface implemented by all peer marshallers/unmarshallers.

<exclude>

Member Function Documentation

◆ Marshal() [1/3]

JavaProxy Codemesh.JuggerNET.IPeerMarshaller.Marshal ( object  dotNetInstance)

Marshals a .NET instance into a Java object.

Parameters
dotNetInstancethe .NET instance to marshal
Returns

Implemented in Codemesh.JuggerNET.PeerManager, Codemesh.JuggerNET.CollectionMarshaller, and Codemesh.JuggerNET.BasePeerMarshaller.

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

◆ Marshal() [2/3]

JavaProxy Codemesh.JuggerNET.IPeerMarshaller.Marshal ( object  dotNetInstance,
JavaProxy  javaInstance 
)

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

Implemented in Codemesh.JuggerNET.BasePeerMarshaller, Codemesh.JuggerNET.PeerManager, and Codemesh.JuggerNET.CollectionMarshaller.

◆ Marshal() [3/3]

JavaProxy Codemesh.JuggerNET.IPeerMarshaller.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)

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

Implemented in Codemesh.JuggerNET.ReflectionPeerValueMarshaller, Codemesh.JuggerNET.PeerManager, Codemesh.JuggerNET.CollectionMarshaller, and Codemesh.JuggerNET.BasePeerMarshaller.

◆ Unmarshal() [1/2]

object Codemesh.JuggerNET.IPeerMarshaller.Unmarshal ( JavaProxy  javaInstance)

Unmarshals a Java instance into a .NET object.

Parameters
javaInstancethe Java instance to unmarshal.
Returns

Implemented in Codemesh.JuggerNET.PeerManager, Codemesh.JuggerNET.CollectionMarshaller, and Codemesh.JuggerNET.BasePeerMarshaller.

Referenced by Codemesh.JuggerNET.PeerManager.Unmarshal().

◆ Unmarshal() [2/2]

object Codemesh.JuggerNET.IPeerMarshaller.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).

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

Implemented in Codemesh.JuggerNET.ReflectionPeerValueMarshaller, Codemesh.JuggerNET.PeerManager, Codemesh.JuggerNET.CollectionMarshaller, and Codemesh.JuggerNET.BasePeerMarshaller.


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

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