public interface MethodWriter
MethodWriter interface defines the contract for classes that have the capability to
output their data in a marshallable format using the MarshallableOut interface.
Implementers of this interface are expected to provide the logic to transform or serialize their internal
state to a format supported by the MarshallableOut instance provided.| Modifier and Type | Method and Description |
|---|---|
void |
marshallableOut(MarshallableOut out)
Transforms or serializes the internal state of the implementer to the provided
MarshallableOut instance. |
void marshallableOut(MarshallableOut out)
MarshallableOut instance. Implementers should handle the logic for
extracting their state and using the methods available on the out parameter
to output this state in the appropriate format.out - The MarshallableOut instance to which the implementer's state should be written.Copyright © 2024. All rights reserved.