#include <covise_connect.h>
|
| SimpleServerConnection (int p, int id, int st) |
|
| SimpleServerConnection (int *p, int id, int st) |
|
| SimpleServerConnection (Socket *s) |
|
const char * | readLine () |
|
| ServerConnection (int p, int id, int st) |
|
| ServerConnection (int *p, int id, int st) |
|
| ServerConnection (Socket *s) |
|
virtual | ~ServerConnection () |
|
int | acceptOne () |
|
int | acceptOne (float timeout) |
|
int | listen () |
|
std::unique_ptr< ServerConnection > | spawn_connection () const |
|
std::unique_ptr< SimpleServerConnection > | spawnSimpleConnection () 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 |
|
◆ SimpleServerConnection() [1/3]
SimpleServerConnection::SimpleServerConnection |
( |
int |
p, |
|
|
int |
id, |
|
|
int |
st |
|
) |
| |
◆ SimpleServerConnection() [2/3]
SimpleServerConnection::SimpleServerConnection |
( |
int * |
p, |
|
|
int |
id, |
|
|
int |
st |
|
) |
| |
◆ SimpleServerConnection() [3/3]
SimpleServerConnection::SimpleServerConnection |
( |
Socket * |
s | ) |
|
◆ get_dataformat()
void covise::SimpleServerConnection::get_dataformat |
( |
| ) |
|
|
private |
◆ readLine()
const char * SimpleServerConnection::readLine |
( |
| ) |
|
◆ buffer
char covise::SimpleServerConnection::buffer[10001] |
|
private |
◆ buflen
size_t covise::SimpleServerConnection::buflen |
|
private |
The documentation for this class was generated from the following files: