summaryrefslogtreecommitdiff
path: root/gatoattclient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gatoattclient.cpp')
-rw-r--r--gatoattclient.cpp21
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 &params)
+{
+ return socket->setConnectionParameters(params);
+}
+
int GatoAttClient::mtu() const
{
return cur_mtu;