summaryrefslogtreecommitdiff
path: root/sappeer.h
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2015-12-24 19:04:04 +0100
committerJavier <dev.git@javispedro.com>2015-12-24 19:04:04 +0100
commit14d20babe395e52d220bbc27e91cec2fddd1ed0f (patch)
tree4cd71caf6b0b8a8e4be7d4d3fb1306536a726346 /sappeer.h
parent309947a4316a94f4c5d43c9b39b733cc3bbab459 (diff)
downloadsapd-14d20babe395e52d220bbc27e91cec2fddd1ed0f.tar.gz
sapd-14d20babe395e52d220bbc27e91cec2fddd1ed0f.zip
still testing sap control flow
Diffstat (limited to 'sappeer.h')
-rw-r--r--sappeer.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sappeer.h b/sappeer.h
index abb36e4..ffddea4 100644
--- a/sappeer.h
+++ b/sappeer.h
@@ -39,14 +39,17 @@ protected:
/** Writes data to the remote. */
void writeDataToSession(int session, const QByteArray &data);
+ /** Writes a control frame to the remote. */
void writeControlToSession(int session, const QByteArray &control);
- void writeAckToSession(int session, int seqNum);
void acceptServiceConnection(SAPConnectionRequest *connReq, int statusCode);
/** Distributes data to the appropiate socket. */
void handleSessionData(int session, const QByteArray &data);
+ /** Distributes a control message to the apropiate socket. */
+ void handleSessionControl(int session, const QByteArray &data);
+
/** Perform service discovery once connected. */
void handleConnected();
void handleDisconnected();