Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

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)

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)

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