toProxy

@NotNull
abstract fun toProxy(@NotNull obj: OBJ): PROXY

Facilitates the conversion of the third-party object into the serializable local class specified by PROXY.

Return

proxy object to be written to AMQP.

Parameters

obj

Original object for serialization.