Commit 9a644838b6c5403e0025cd2c385ab906f6a7c042
1 parent
1cbb4892
Exists in
master
and in
5 other branches
Incluindo método para encerrar a sessão no serviço.
Showing
4 changed files
with
11 additions
and
0 deletions
Show diff stats
src/include/pw3270cpp.h
src/libpw3270cpp/service.cc
... | ... | @@ -326,6 +326,11 @@ |
326 | 326 | return getInteger("isReady", DBUS_TYPE_STRING, &this->id, DBUS_TYPE_INVALID); |
327 | 327 | } |
328 | 328 | |
329 | + virtual int close(void) | |
330 | + { | |
331 | + return getInteger("destroySession", DBUS_TYPE_STRING, &this->id, DBUS_TYPE_INVALID); | |
332 | + } | |
333 | + | |
329 | 334 | virtual LIB3270_CSTATE get_cstate(void) |
330 | 335 | { |
331 | 336 | return (LIB3270_CSTATE) getInteger("getConnectionState", DBUS_TYPE_STRING, &this->id, DBUS_TYPE_INVALID); | ... | ... |
src/libpw3270cpp/session.cc