COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Public Member Functions | Private Attributes | List of all members
covise::SimpleClientConnection Class Reference

#include <covise_connect.h>

Inheritance diagram for covise::SimpleClientConnection:
Inheritance graph
[legend]
Collaboration diagram for covise::SimpleClientConnection:
Collaboration graph
[legend]

Public Member Functions

 SimpleClientConnection (Host *, int p, int retries=20)
 
 ~SimpleClientConnection ()
 
const char * readLine ()
 
void get_dataformat ()
 
- Public Member Functions inherited from covise::Connection
 Connection ()
 
 Connection (int sfd)
 
virtual ~Connection ()
 
SocketgetSocket ()
 
void set_peer (int id, int type)
 
int get_peer_id ()
 
int get_peer_type ()
 
int is_connected ()
 
virtual int receive (void *buf, unsigned nbyte)
 
virtual int send (const void *buf, unsigned nbyte)
 
virtual int recv_msg (Message *msg)
 
virtual int recv_msg_fast (Message *msg)
 
virtual int send_msg (const Message *msg)
 
virtual int send_msg_fast (const Message *msg)
 
int check_for_input (float time=0.0)
 
int get_port ()
 
void set_hostid (int id)
 
int get_hostid ()
 
int get_sendertype ()
 
int get_id (void(*remove_func)(int))
 
int get_sender_id ()
 
void close ()
 
void close_inform ()
 
int has_message ()
 
void print ()
 
Hostget_host ()
 
const char * get_hostname ()
 

Private Attributes

Hosthost
 
Hostlhost
 
char buffer [10001]
 
int buflen
 

Additional Inherited Members

- Public Attributes inherited from covise::Connection
char convert_to
 
- Protected Member Functions inherited from covise::Connection
int get_id ()
 
- Protected Attributes inherited from covise::Connection
class Socketsock
 
int port
 
int sender_id
 
int send_type
 
int peer_id_
 
int peer_type_
 
int message_to_do
 
int bytes_to_process
 
unsigned long tru
 
char * read_buf
 
Hostother_host
 
int hostid
 
void(* remove_socket )(int)
 
int * header_int
 

Constructor & Destructor Documentation

SimpleClientConnection::SimpleClientConnection ( Host h,
int  p,
int  retries = 20 
)
SimpleClientConnection::~SimpleClientConnection ( )

Member Function Documentation

void SimpleClientConnection::get_dataformat ( )
const char * SimpleClientConnection::readLine ( )

Member Data Documentation

char covise::SimpleClientConnection::buffer[10001]
private
int covise::SimpleClientConnection::buflen
private
Host* covise::SimpleClientConnection::host
private
Host* covise::SimpleClientConnection::lhost
private

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