#include <covise_connect.h>
|
| UDPConnection (int id, int s_type, int p, const char *address) |
|
bool | recv_udp_msg (UdpMessage *msg) const |
|
bool | sendMessage (const UdpMessage *msg) const override |
|
bool | send_udp_msg (const UdpMessage *msg, const char *ip=nullptr) const |
|
| Connection () |
|
| Connection (int sfd) |
|
virtual | ~Connection () |
|
Socket * | getSocket () const |
|
void | set_peer (int id, int type) |
|
int | get_peer_id () const |
|
int | get_peer_type () const |
|
int | is_connected () const |
|
virtual int | receive (void *buf, unsigned nbyte) const |
|
virtual int | send (const void *buf, unsigned nbyte) const |
|
virtual int | recv_msg (Message *msg, char *ip=nullptr) const |
|
virtual int | recv_msg_fast (Message *msg) const |
|
virtual bool | sendMessage (const Message *msg) const override |
|
virtual bool | sendMessage (const UdpMessage *msg) const override |
|
virtual int | send_msg_fast (const Message *msg) |
|
int | check_for_input (float time=0.0) const |
|
int | get_port () const |
|
void | set_hostid (int id) |
|
int | get_hostid () const |
|
int | get_sendertype () const |
|
int | get_id (void(*remove_func)(int)) const |
|
int | get_sender_id () const |
|
void | close () |
|
void | close_inform () |
|
int | has_message () const |
|
void | print () const |
|
Host * | get_host () |
|
const Host * | get_host () const |
|
const char * | get_hostname () const |
|
| MessageSenderInterface ()=default |
|
virtual | ~MessageSenderInterface ()=default |
|
bool | send (const covise::MessageBase *msg) const |
|
bool | send (const covise::Message *msg) const |
|
bool | send (const UdpMessage *msg) const |
|
bool | send (covise::TokenBuffer &tb, int type, Protocol p=Protocol::TCP) const |
|
◆ UDPConnection()
UDPConnection::UDPConnection |
( |
int |
id, |
|
|
int |
s_type, |
|
|
int |
p, |
|
|
const char * |
address |
|
) |
| |
◆ recv_udp_msg()
bool covise::UDPConnection::recv_udp_msg |
( |
UdpMessage * |
msg | ) |
const |
◆ send_udp_msg()
bool covise::UDPConnection::send_udp_msg |
( |
const UdpMessage * |
msg, |
|
|
const char * |
ip = nullptr |
|
) |
| const |
◆ sendMessage()
bool covise::UDPConnection::sendMessage |
( |
const UdpMessage * |
msg | ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following files: