summaryrefslogtreecommitdiff
path: root/src/protocol/internal/fqterm_ssh2_packet.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocol/internal/fqterm_ssh2_packet.h')
-rw-r--r--src/protocol/internal/fqterm_ssh2_packet.h30
1 files changed, 13 insertions, 17 deletions
diff --git a/src/protocol/internal/fqterm_ssh2_packet.h b/src/protocol/internal/fqterm_ssh2_packet.h
index c460984..f2e6b0f 100644
--- a/src/protocol/internal/fqterm_ssh2_packet.h
+++ b/src/protocol/internal/fqterm_ssh2_packet.h
@@ -25,25 +25,21 @@
namespace FQTerm {
-class FQTermSSH2PacketSender: public FQTermSSHPacketSender {
- protected:
- virtual void makePacket();
-
- public:
- virtual void setEncryptionType(int cipherType);
+class FQTermSSH2PacketSender: public FQTermSSHPacketSender
+{
+protected:
+ virtual void makePacket();
};
-class FQTermSSH2PacketReceiver: public FQTermSSHPacketReceiver {
- private:
- // greater than 0 if last time an incomplete ssh2 packet received.
- int last_expected_input_length_;
- public:
- FQTermSSH2PacketReceiver()
- : last_expected_input_length_(0) {
- }
-
- virtual void parseData(FQTermSSHBuffer *input);
- virtual void setEncryptionType(int cipherType);
+class FQTermSSH2PacketReceiver: public FQTermSSHPacketReceiver
+{
+private:
+ // greater than 0 if last time an incomplete ssh2 packet received.
+ int last_expected_input_length_;
+public:
+FQTermSSH2PacketReceiver() : last_expected_input_length_(0) { }
+
+ virtual void parseData(FQTermSSHBuffer *input);
};
} // namespace FQTerm