added functionality to disconnect and request hostship via LUA.

fixed bug in threading
This commit is contained in:
Joakim Kilby
2015-06-18 09:10:15 +02:00
parent be21b8e43d
commit b723751c1b
3 changed files with 123 additions and 78 deletions

View File

@@ -105,6 +105,8 @@ namespace openspace{
void clientConnect();
void disconnect();
void setPort(const std::string &port);
std::string port();
@@ -136,7 +138,8 @@ namespace openspace{
Initialization,
Data,
HostInfo,
InitializationRequest
InitializationRequest,
HostshipRequest
};
/**
@@ -169,8 +172,6 @@ namespace openspace{
return hashVal;
};
void disconnect();
void closeSocket();
bool initNetworkAPI();