Public Member Functions

Barry::SocketBase Class Reference

Inheritance diagram for Barry::SocketBase:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void DBFragSend (Data &send, int timeout=-1)
 Sends a fragmented Desktop / Database command packet.
void Send (Data &send, Data &receive, int timeout=-1)
 SyncSends 'send' data to device, and waits for response.

Detailed Description

Definition at line 115 of file socket.h.


Member Function Documentation

void Barry::SocketBase::DBFragSend ( Data send,
int  timeout = -1 
)

Sends a fragmented Desktop / Database command packet.

Assumes that 'send' contains a valid packet, which may or may not need fragmentation. If it does, fragmentation will be done automatically.

Definition at line 669 of file socket.cc.

void Barry::SocketBase::Send ( Data send,
Data receive,
int  timeout = -1 
)

SyncSends 'send' data to device, and waits for response.

Returns:
void
Exceptions:
Usb::Error on underlying bus errors.

Definition at line 707 of file socket.cc.


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