socks5bytestreamhandler.h

00001 /*
00002   Copyright (c) 2006-2008 by Jakob Schroeter <js@camaya.net>
00003   This file is part of the gloox library. http://camaya.net/gloox
00004 
00005   This software is distributed under a license. The full license
00006   agreement can be found in the file LICENSE in this distribution.
00007   This software may not be copied, modified, sold or distributed
00008   other than expressed in the named license agreement.
00009 
00010   This software is distributed without any warranty.
00011 */
00012 
00013 
00014 #ifndef SOCKS5BYTESTREAMHANDLER_H__
00015 #define SOCKS5BYTESTREAMHANDLER_H__
00016 
00017 #include "macros.h"
00018 #include "jid.h"
00019 #include "socks5bytestream.h"
00020 
00021 namespace gloox
00022 {
00023 
00033   class GLOOX_API SOCKS5BytestreamHandler
00034   {
00035     public:
00039       virtual ~SOCKS5BytestreamHandler() {}
00040 
00051       virtual void handleIncomingSOCKS5BytestreamRequest( const std::string& sid, const JID& from ) = 0;
00052 
00065       virtual void handleIncomingSOCKS5Bytestream( SOCKS5Bytestream* s5b ) = 0;
00066 
00075       virtual void handleOutgoingSOCKS5Bytestream( SOCKS5Bytestream *s5b ) = 0;
00076 
00082       virtual void handleSOCKS5BytestreamError( Stanza* stanza, const std::string& sid ) = 0;
00083 
00084   };
00085 
00086 }
00087 
00088 #endif // SOCKS5BYTESTREAMHANDLER_H__

Generated on Mon Dec 7 13:28:19 2009 for gloox by  doxygen 1.6.1