mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
tag a few more methods BLOCKING
This commit is contained in:
parent
ea31a192b0
commit
b7fdc8d797
@ -50,15 +50,15 @@ PUBLISHED:
|
|||||||
|
|
||||||
PT(Connection) open_UDP_connection(int port = 0);
|
PT(Connection) open_UDP_connection(int port = 0);
|
||||||
|
|
||||||
PT(Connection) open_TCP_server_rendezvous(int port, int backlog);
|
BLOCKING PT(Connection) open_TCP_server_rendezvous(int port, int backlog);
|
||||||
PT(Connection) open_TCP_server_rendezvous(const string &hostname,
|
BLOCKING PT(Connection) open_TCP_server_rendezvous(const string &hostname,
|
||||||
int port, int backlog);
|
int port, int backlog);
|
||||||
PT(Connection) open_TCP_server_rendezvous(const NetAddress &address,
|
BLOCKING PT(Connection) open_TCP_server_rendezvous(const NetAddress &address,
|
||||||
int backlog);
|
int backlog);
|
||||||
PT(Connection) open_TCP_client_connection(const NetAddress &address,
|
BLOCKING PT(Connection) open_TCP_client_connection(const NetAddress &address,
|
||||||
int timeout_ms);
|
int timeout_ms);
|
||||||
PT(Connection) open_TCP_client_connection(const string &hostname, int port,
|
BLOCKING PT(Connection) open_TCP_client_connection(const string &hostname, int port,
|
||||||
int timeout_ms);
|
int timeout_ms);
|
||||||
|
|
||||||
bool close_connection(const PT(Connection) &connection);
|
bool close_connection(const PT(Connection) &connection);
|
||||||
|
|
||||||
|
@ -44,14 +44,14 @@ PUBLISHED:
|
|||||||
int get_max_queue_size() const;
|
int get_max_queue_size() const;
|
||||||
int get_current_queue_size() const;
|
int get_current_queue_size() const;
|
||||||
|
|
||||||
bool send(const Datagram &datagram,
|
BLOCKING bool send(const Datagram &datagram,
|
||||||
const PT(Connection) &connection,
|
const PT(Connection) &connection,
|
||||||
bool block = false);
|
bool block = false);
|
||||||
|
|
||||||
bool send(const Datagram &datagram,
|
BLOCKING bool send(const Datagram &datagram,
|
||||||
const PT(Connection) &connection,
|
const PT(Connection) &connection,
|
||||||
const NetAddress &address,
|
const NetAddress &address,
|
||||||
bool block = false);
|
bool block = false);
|
||||||
|
|
||||||
bool is_valid_for_udp(const Datagram &datagram) const;
|
bool is_valid_for_udp(const Datagram &datagram) const;
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ PUBLISHED:
|
|||||||
QueuedConnectionListener(ConnectionManager *manager, int num_threads);
|
QueuedConnectionListener(ConnectionManager *manager, int num_threads);
|
||||||
virtual ~QueuedConnectionListener();
|
virtual ~QueuedConnectionListener();
|
||||||
|
|
||||||
bool new_connection_available();
|
BLOCKING bool new_connection_available();
|
||||||
bool get_new_connection(PT(Connection) &rendezvous,
|
bool get_new_connection(PT(Connection) &rendezvous,
|
||||||
NetAddress &address,
|
NetAddress &address,
|
||||||
PT(Connection) &new_connection);
|
PT(Connection) &new_connection);
|
||||||
|
@ -40,7 +40,7 @@ PUBLISHED:
|
|||||||
QueuedConnectionReader(ConnectionManager *manager, int num_threads);
|
QueuedConnectionReader(ConnectionManager *manager, int num_threads);
|
||||||
virtual ~QueuedConnectionReader();
|
virtual ~QueuedConnectionReader();
|
||||||
|
|
||||||
bool data_available();
|
BLOCKING bool data_available();
|
||||||
bool get_data(NetDatagram &result);
|
bool get_data(NetDatagram &result);
|
||||||
bool get_data(Datagram &result);
|
bool get_data(Datagram &result);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user