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

#include <covise_connect.h>

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

Public Member Functions

 SimpleServerConnection (int p, int id, int st)
 
 SimpleServerConnection (int *p, int id, int st)
 
 SimpleServerConnection (Socket *s)
 
const char * readLine ()
 
- Public Member Functions inherited from covise::ServerConnection
 ServerConnection (int p, int id, int st)
 
 ServerConnection (int *p, int id, int st)
 
 ServerConnection (Socket *s)
 
virtual ~ServerConnection ()
 
int acceptOne ()
 
int acceptOne (int)
 
int listen ()
 
ServerConnectionspawn_connection ()
 
SimpleServerConnectionspawnSimpleConnection ()
 
- 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 Member Functions

void get_dataformat ()
 

Private Attributes

char buffer [10001]
 
int buflen
 

Additional Inherited Members

- Public Attributes inherited from covise::Connection
char convert_to
 
- Protected Member Functions inherited from covise::ServerConnection
void get_dataformat ()
 
- 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

SimpleServerConnection::SimpleServerConnection ( int  p,
int  id,
int  st 
)
SimpleServerConnection::SimpleServerConnection ( int *  p,
int  id,
int  st 
)
SimpleServerConnection::SimpleServerConnection ( Socket s)

Member Function Documentation

void covise::SimpleServerConnection::get_dataformat ( )
private
const char * SimpleServerConnection::readLine ( )

Member Data Documentation

char covise::SimpleServerConnection::buffer[10001]
private
int covise::SimpleServerConnection::buflen
private

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