Public Member Functions

Barry::Mode::JavaLoader Class Reference

The main interface class to the java program loader protocol. More...

#include <m_javaloader.h>

Inheritance diagram for Barry::Mode::JavaLoader:
Inheritance graph
[legend]
Collaboration diagram for Barry::Mode::JavaLoader:
Collaboration graph
[legend]

List of all members.

Public Member Functions

bool StopStream ()
 Must be called at the end of a JavaLoader session.
void GetScreenshot (JLScreenInfo &info, Data &image)
 Downloads screenshot from device, and fills info with size data and the given Data buffer image with the bitmap.

Detailed Description

The main interface class to the java program loader protocol.

To use this class, use the following steps:

Definition at line 218 of file m_javaloader.h.


Member Function Documentation

void Barry::Mode::JavaLoader::GetScreenshot ( JLScreenInfo info,
Data image 
)

Downloads screenshot from device, and fills info with size data and the given Data buffer image with the bitmap.

Definition at line 633 of file m_javaloader.cc.

References Barry::Packet::Command(), and Barry::Data::Zap().

Here is the call graph for this function:

bool Barry::Mode::JavaLoader::StopStream (  ) 

Must be called at the end of a JavaLoader session.

The JL_GOODBYE command is sent to the device. When the device responds with RESET_REQUIRED the device reset command will be sent when the socket is closed.

Returns:
true when a device reset was required

Definition at line 492 of file m_javaloader.cc.

References Barry::Packet::Command().

Here is the call graph for this function:


The documentation for this class was generated from the following files: