#include <covise_connect.h>
◆ Connection() [1/2]
Connection::Connection |
( |
| ) |
|
◆ Connection() [2/2]
Connection::Connection |
( |
int |
sfd | ) |
|
◆ ~Connection()
Connection::~Connection |
( |
| ) |
|
|
virtual |
◆ check_for_input()
int Connection::check_for_input |
( |
float |
time = 0.0 | ) |
const |
◆ close()
void Connection::close |
( |
| ) |
|
◆ close_inform()
void Connection::close_inform |
( |
| ) |
|
◆ get_host() [1/2]
Host * Connection::get_host |
( |
| ) |
|
◆ get_host() [2/2]
const Host * Connection::get_host |
( |
| ) |
const |
◆ get_hostid()
int covise::Connection::get_hostid |
( |
| ) |
const |
|
inline |
◆ get_hostname()
const char * Connection::get_hostname |
( |
| ) |
const |
◆ get_id() [1/2]
int Connection::get_id |
( |
| ) |
const |
|
protected |
◆ get_id() [2/2]
int Connection::get_id |
( |
void(*)(int) |
remove_func | ) |
const |
◆ get_peer_id()
int Connection::get_peer_id |
( |
| ) |
const |
◆ get_peer_type()
int Connection::get_peer_type |
( |
| ) |
const |
◆ get_port()
int covise::Connection::get_port |
( |
| ) |
const |
|
inline |
◆ get_sender_id()
int covise::Connection::get_sender_id |
( |
| ) |
const |
|
inline |
◆ get_sendertype()
int covise::Connection::get_sendertype |
( |
| ) |
const |
|
inline |
◆ getSocket()
Socket * covise::Connection::getSocket |
( |
| ) |
const |
|
inline |
◆ has_message()
int covise::Connection::has_message |
( |
| ) |
const |
|
inline |
◆ is_connected()
int covise::Connection::is_connected |
( |
| ) |
const |
|
inline |
◆ print()
void covise::Connection::print |
( |
| ) |
const |
|
inline |
◆ receive()
int Connection::receive |
( |
void * |
buf, |
|
|
unsigned |
nbyte |
|
) |
| const |
|
virtual |
◆ recv_msg()
int Connection::recv_msg |
( |
Message * |
msg, |
|
|
char * |
ip = nullptr |
|
) |
| const |
|
virtual |
aw: this looks like stdin/stdout sending
◆ recv_msg_fast()
int Connection::recv_msg_fast |
( |
Message * |
msg | ) |
const |
|
virtual |
◆ send()
int Connection::send |
( |
const void * |
buf, |
|
|
unsigned |
nbyte |
|
) |
| const |
|
virtual |
◆ send_msg_fast()
int Connection::send_msg_fast |
( |
const Message * |
msg | ) |
|
|
virtual |
◆ sendMessage() [1/3]
bool Connection::sendMessage |
( |
const Message * |
msg | ) |
const |
|
overridevirtual |
◆ sendMessage() [2/3]
bool Connection::sendMessage |
( |
const UdpMessage * |
msg | ) |
const |
|
overridevirtual |
◆ sendMessage() [3/3]
bool Connection::sendMessage |
( |
int |
senderId, |
|
|
int |
senderType, |
|
|
const Message * |
msg |
|
) |
| const |
|
protected |
◆ set_hostid()
void Connection::set_hostid |
( |
int |
id | ) |
|
◆ set_peer()
void Connection::set_peer |
( |
int |
id, |
|
|
int |
type |
|
) |
| |
◆ ConnectionList
◆ ServerConnection
◆ bytes_to_process
int covise::Connection::bytes_to_process |
|
mutableprotected |
◆ convert_to
char covise::Connection::convert_to |
◆ header_int
int* covise::Connection::header_int |
|
protected |
◆ hostid
int covise::Connection::hostid |
|
protected |
◆ message_to_do
int covise::Connection::message_to_do |
|
mutableprotected |
◆ other_host
Host* covise::Connection::other_host = nullptr |
|
protected |
◆ peer_id_
int covise::Connection::peer_id_ |
|
protected |
◆ peer_type_
int covise::Connection::peer_type_ |
|
protected |
◆ port
int covise::Connection::port |
|
protected |
◆ read_buf
char* covise::Connection::read_buf = nullptr |
|
protected |
◆ remove_socket
void(* covise::Connection::remove_socket) (int) |
|
mutableprotected |
◆ send_type
int covise::Connection::send_type |
|
protected |
◆ sender_id
int covise::Connection::sender_id |
|
protected |
◆ sock
class Socket* covise::Connection::sock = nullptr |
|
protected |
◆ tru
unsigned long covise::Connection::tru |
|
protected |
The documentation for this class was generated from the following files: