COVISE Core
|
#include <covise_connect.h>
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 () |
Socket * | getSocket () |
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 () |
Host * | get_host () |
const char * | get_hostname () |
Private Attributes | |
Host * | host |
Host * | lhost |
char | buffer [10001] |
size_t | 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 Socket * | sock |
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 |
Host * | other_host |
int | hostid |
void(* | remove_socket )(int) |
int * | header_int |
SimpleClientConnection::SimpleClientConnection | ( | Host * | h, |
int | p, | ||
int | retries = 20 |
||
) |
SimpleClientConnection::~SimpleClientConnection | ( | ) |
void SimpleClientConnection::get_dataformat | ( | ) |
const char * SimpleClientConnection::readLine | ( | ) |
|
private |
|
private |
|
private |
|
private |