diff options
author | Javier <maemo@javispedro.com> | 2014-09-17 00:10:06 +0200 |
---|---|---|
committer | Javier <maemo@javispedro.com> | 2014-09-17 00:10:06 +0200 |
commit | b41e73a1565ff9edd45f814a4b535020c04b1b15 (patch) | |
tree | 832c003e726815c1a284d5663bcf1f721ecc95ef /gatoattclient.cpp | |
parent | 52e67e59de9bc11cab6cd69e4e403dd9d34582b1 (diff) | |
download | libgato-b41e73a1565ff9edd45f814a4b535020c04b1b15.tar.gz libgato-b41e73a1565ff9edd45f814a4b535020c04b1b15.zip |
Bump version, add new GatoConnectionParameters class and ability to
change connection parameters.
Diffstat (limited to 'gatoattclient.cpp')
-rw-r--r-- | gatoattclient.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gatoattclient.cpp b/gatoattclient.cpp index 0bf5877..00dd9d0 100644 --- a/gatoattclient.cpp +++ b/gatoattclient.cpp @@ -103,6 +103,27 @@ void GatoAttClient::close() socket->close(); } +GatoSocket::SecurityLevel GatoAttClient::securityLevel() const +{ + return socket->securityLevel(); +} + +bool GatoAttClient::setSecurityLevel(GatoSocket::SecurityLevel level) +{ + required_sec = level; + return socket->setSecurityLevel(level); +} + +GatoConnectionParameters GatoAttClient::connectionParameters() const +{ + return socket->connectionParameters(); +} + +bool GatoAttClient::setConnectionParameters(const GatoConnectionParameters ¶ms) +{ + return socket->setConnectionParameters(params); +} + int GatoAttClient::mtu() const { return cur_mtu; |