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.BuildernewBuilder(GatewayRpcSerializer gatewayBase) readParameters(InputStream stream, RpcCall call) voidwriteReturnValue(OutputStream stream, RpcCall call, Object value)
-
Method Details
-
readParameters
@NotNull public @NotNull List<Object> readParameters(InputStream stream, RpcCall call) throws IOException - Specified by:
readParametersin interfaceGatewayRpcSerializer- Throws:
IOException
-
writeReturnValue
- Specified by:
writeReturnValuein interfaceGatewayRpcSerializer- Throws:
IOException
-
newBuilder
-