summaryrefslogtreecommitdiff
path: root/docs/tutorials/015/Crypt.h
diff options
context:
space:
mode:
Diffstat (limited to 'docs/tutorials/015/Crypt.h')
-rw-r--r--docs/tutorials/015/Crypt.h35
1 files changed, 0 insertions, 35 deletions
diff --git a/docs/tutorials/015/Crypt.h b/docs/tutorials/015/Crypt.h
deleted file mode 100644
index c7fb1d5948f..00000000000
--- a/docs/tutorials/015/Crypt.h
+++ /dev/null
@@ -1,35 +0,0 @@
-
-// $Id$
-
-#ifndef CRYPT_H
-#define CRYPT_h
-
-#include "Protocol_Task.h"
-
-/* An interface (adaptor) between your favorite encryption method and
- an ACE_Stream.
-*/
-class Crypt : public Protocol_Task
-{
-public:
-
- typedef Protocol_Task inherited;
-
- // Again we have the option of multiple threads and again I
- // regret tempting folks to use it.
- Crypt( int _thr_count = 0 );
-
- ~Crypt(void);
-
-protected:
-
- // Moving downstream will encrypt the data
- int send(ACE_Message_Block *message,
- ACE_Time_Value *timeout);
-
- // And moving upstream will decrypt it.
- int recv(ACE_Message_Block *message,
- ACE_Time_Value *timeout);
-};
-
-#endif // CRYPT_H