_playerc_client_t Struct Reference
[Client API]

#include <playerc.h>

List of all members.


Detailed Description

Client object data.


Public Attributes

void * id
 A useful ID for identifying devices; mostly used by other language bindings.
char * host
 Server address.
int port
int transport
sockaddr_in server
int retry_limit
 How many times we'll try to reconnect after a socket error.
double retry_time
 How long to sleep, in seconds, to sleep between reconnect attempts.
int sock
uint8_t mode
playerc_device_info_t devinfos [PLAYERC_MAX_DEVICES]
 List of available (but not necessarily subscribed) devices.
int devinfo_count
_playerc_device_tdevice [32]
 List of subscribed devices.
int device_count
playerc_client_item_t qitems [512]
int qfirst
int qlen
int qsize
char * data
char * write_xdrdata
char * read_xdrdata
size_t read_xdrdata_len
double datatime
 Server time stamp on the last packet.
double lasttime
 Server time stamp on the previous packet.
double request_timeout

Member Data Documentation

char* _playerc_client_t::data
 

For internal use only.

Temp buffers for incoming / outgoing packets.

playerc_device_info_t _playerc_client_t::devinfos[PLAYERC_MAX_DEVICES]
 

List of available (but not necessarily subscribed) devices.

This list is filled in by playerc_client_get_devlist().

uint8_t _playerc_client_t::mode
 

For internal use only.

Data delivery mode

playerc_client_item_t _playerc_client_t::qitems[512]
 

For internal use only.

A circular queue used to buffer incoming data packets.

int _playerc_client_t::retry_limit
 

How many times we'll try to reconnect after a socket error.

Use playerc_client_set_retry_limit() to set this value. Set to -1 for infinite retry.

double _playerc_client_t::retry_time
 

How long to sleep, in seconds, to sleep between reconnect attempts.

Use playerc_client_set_retry_time() to set this value.

int _playerc_client_t::sock
 

For internal use only.

Socket descriptor


The documentation for this struct was generated from the following file:

Last updated 12 September 2005 21:38:45