Class CompositeSerializer
java.lang.Object
com.inductiveautomation.ignition.gateway.rpc.CompositeSerializer
- All Implemented Interfaces:
GatewayRpcSerializer
A composite
RpcSerializer
that delegates to different GatewayRpcSerializer
implementations based on
the package ID of the RpcCall
, falling back to a general serializer otherwise.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic CompositeSerializer.Builder
newBuilder
(GatewayRpcSerializer gatewayBase) readParameters
(InputStream stream, RpcCall call) void
writeReturnValue
(OutputStream stream, RpcCall call, Object value)
-
Method Details
-
readParameters
@NotNull public @NotNull List<Object> readParameters(InputStream stream, RpcCall call) throws IOException - Specified by:
readParameters
in interfaceGatewayRpcSerializer
- Throws:
IOException
-
writeReturnValue
- Specified by:
writeReturnValue
in interfaceGatewayRpcSerializer
- Throws:
IOException
-
newBuilder
-