mirror of
https://github.com/panda3d/panda3d.git
synced 2025-11-03 03:53:36 -05:00
*** empty log message ***
This commit is contained in:
parent
28d9163810
commit
d35893417b
@ -66,8 +66,8 @@ get_max_rate() const {
|
||||
// failure.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
INLINE bool PStatClient::
|
||||
connect(string hostname, int port) {
|
||||
return get_global_pstats()->connect(hostname, port);
|
||||
connect(const string &hostname, int port) {
|
||||
return get_global_pstats()->ns_connect(hostname, port);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
@ -77,7 +77,7 @@ connect(string hostname, int port) {
|
||||
////////////////////////////////////////////////////////////////////
|
||||
INLINE void PStatClient::
|
||||
disconnect() {
|
||||
get_global_pstats()->disconnect();
|
||||
get_global_pstats()->ns_disconnect();
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
@ -88,5 +88,5 @@ disconnect() {
|
||||
////////////////////////////////////////////////////////////////////
|
||||
INLINE bool PStatClient::
|
||||
is_connected() {
|
||||
return get_global_pstats()->is_connected();
|
||||
return get_global_pstats()->ns_is_connected();
|
||||
}
|
||||
|
||||
@ -63,7 +63,7 @@ public:
|
||||
static PStatClient *get_global_pstats();
|
||||
|
||||
PUBLISHED:
|
||||
INLINE static bool connect(string hostname = string(), int port = -1);
|
||||
INLINE static bool connect(const string &hostname = string(), int port = -1);
|
||||
INLINE static void disconnect();
|
||||
INLINE static bool is_connected();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user