Share via


IRemoteToolStream (Compact 7)

3/12/2014

This interface represents a stream-based connection between the desktop and the device. You can use this interface to send and receive command packets (IRemoteToolCommand) from the desktop to a target device.

Method Description

IRemoteToolStream::Advise

Registers a callback to be called when a command is received from a device.

IRemoteToolStream::DisconnectStream

Disconnects the stream.

IRemoteToolStream::EnableDeviceProxy

For internal use only.

Instructs the device-side code to become a proxy for deployment of plug-ins.

IRemoteToolStream::IsStreamConnected

Check the connection status of the stream.

IRemoteToolStream::ProcessCommand

Fully process, or send and receive, a command.

In other words, you send a command to the device and then wait for the response from the device.

This function blocks until the command returns or the connection is broken.

IRemoteToolStream::ReceiveCommand

This method is obsolete and is only available for backwards compatibility purposes.

Do not use.

IRemoteToolStream::SendCommand

Sends a command to the device.

The response from the device should be obtained asynchronously by using IRemoteToolCommandSink.

IRemoteToolStream::SendCommand2

Sends a command to the device with a tracking ID.

The response from the device should be obtained asynchronously by using IRemoteToolCommandSink.

IRemoteToolStream::StopService

Instructs the device-side plug-in to stop processing commands and shut down.

IRemoteToolStream::UnAdvise

Unregisters the callback registered by IRemoteToolStream::Advise.

See Also

Reference

Remote Tools Server Interfaces