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
Documentation
StreamRPCPacketizer

Class StreamRPCPacketizer

Hierarchy

java.lang.Object
     com.smartdevicelink.streaming.AbstractPacketizer

Package
com.smartdevicelink.streaming
All Implemented Interfaces
com.smartdevicelink.proxy.interfaces.IPutFileResponseListener, java.lang.Runnable

Fields

Inherited Fields

From Class Fields
com.smartdevicelink.streaming.AbstractPacketizer _streamListener, _rpcSessionID, _serviceType, _session, is, bufferSize, buffer, upts, _request, _wiproVersion, intervalBetweenReports, delta

Constructors

StreamRPCPacketizer( com.smartdevicelink.proxy.SdlProxyBase<com.smartdevicelink.proxy.interfaces.IProxyListenerBase> proxy, IStreamListener streamListener, InputStream is, RPCRequest request, SessionType sType, byte rpcSessionID, byte wiproVersion, long lLength, SdlSession session )

public StreamRPCPacketizer(com.smartdevicelink.proxy.SdlProxyBase<com.smartdevicelink.proxy.interfaces.IProxyListenerBase> proxy,IStreamListener streamListener,InputStream is,RPCRequest request,SessionType sType,byte rpcSessionID,byte wiproVersion,long lLength,SdlSession session)

Parameters

proxy
streamListener
is
request
sType
rpcSessionID
wiproVersion
lLength
session

StreamRPCPacketizer( com.smartdevicelink.proxy.SdlProxyBase<com.smartdevicelink.proxy.interfaces.IProxyListenerBase> proxy, IStreamListener streamListener, InputStream is, RPCRequest request, SessionType sType, byte rpcSessionID, Version wiproVersion, Version rpcSpecVersion, long lLength, SdlSession session )

public StreamRPCPacketizer(com.smartdevicelink.proxy.SdlProxyBase<com.smartdevicelink.proxy.interfaces.IProxyListenerBase> proxy,IStreamListener streamListener,InputStream is,RPCRequest request,SessionType sType,byte rpcSessionID,Version wiproVersion,Version rpcSpecVersion,long lLength,SdlSession session)

Parameters

proxy
streamListener
is
request
sType
rpcSessionID
wiproVersion
rpcSpecVersion
lLength
session

Methods

start()

public void start() throws java.io.IOException

Throws

  • java.io.IOException

stop()

public void stop()

pause()

public void pause()

resume()

public void resume()

run()

public void run()

onPutFileResponse( PutFileResponse response )

public void onPutFileResponse(PutFileResponse response)

Parameters

response

onPutFileStreamError( Exception e, String info )

public void onPutFileStreamError(Exception e,String info)

Parameters

e
info

Inherited Methods

From Class Methods
com.smartdevicelink.streaming.AbstractPacketizer start, stop, pause, resume
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section