Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
JavaEE Documentation
RpcConverter

Class RpcConverter

Hierarchy

java.lang.Object

Package
com.smartdevicelink.managers.lifecycle

Overview

Converts a protocol message into an RPC. Built to reduce boiler plate code for each RPC added.

Constructors

RpcConverter()

public RpcConverter()

Methods

extractRpc( ProtocolMessage message, Version protocolVersion )

Extracts the RPC out of the payload of a given protocol message

public static com.smartdevicelink.proxy.RPCMessage extractRpc(ProtocolMessage message,Version protocolVersion)

Method Parameters

message
protocolMessage that has the RPC in the payload
protocolVersion
RPC spec version that should be used to create RPC

convertTableToRpc( java.util.Hashtable<java.lang.String, java.lang.Object> rpcHashTable )

public static com.smartdevicelink.proxy.RPCMessage convertTableToRpc(java.util.Hashtable<java.lang.String, java.lang.Object> rpcHashTable)

Method Parameters

rpcHashTable

Inherited Methods

From Class Methods
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section