diff options
Diffstat (limited to 'Sluift/SluiftComponent.h')
| -rw-r--r-- | Sluift/SluiftComponent.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Sluift/SluiftComponent.h b/Sluift/SluiftComponent.h index 9fc7101..586a94e 100644 --- a/Sluift/SluiftComponent.h +++ b/Sluift/SluiftComponent.h @@ -57,19 +57,19 @@ namespace Swift { const std::string& password, NetworkFactories* networkFactories, SimpleEventLoop* eventLoop); ~SluiftComponent(); Component* getComponent() { return component; } - void connect(const std::string& host, int port); + void connect(const std::string& host, unsigned short port); void waitConnected(int timeout); bool isConnected() const; void setTraceEnabled(bool b); template<typename REQUEST_TYPE> Sluift::Response sendRequest(REQUEST_TYPE request, int timeout) { boost::signals2::scoped_connection c(request->onResponse.connect( boost::bind(&SluiftComponent::handleRequestResponse, this, _1, _2))); return doSendRequest(request, timeout); |
Swift