Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   Examples  

sue_inet.hpp

Go to the documentation of this file.
00001 #ifndef SENTRY_SUE_INET_HPP
00002 #define SENTRY_SUE_INET_HPP
00003 
00004 #include "sue_sess.hpp"
00005 
00006 
00008 
00015 class SUEInetDuplexSession : public SUEGenericDuplexSession {
00017     unsigned long saved_local_ip;
00018 public:
00019     SUEInetDuplexSession(int a_timeout,
00020                          const char *a_greeting = 0)
00021         : SUEGenericDuplexSession(a_timeout,
00022                                   a_greeting) 
00023         { saved_local_ip = 0xffffffff; }
00024     virtual ~SUEInetDuplexSession() {}
00025 
00027 
00034     void Startup(SUEEventSelector *a_selector,
00035                  int a_fd, const char *a_greeting = 0);
00036     
00038 
00046     unsigned long GetLocalIp() const { return saved_local_ip; }
00047 };
00048 
00049 
00050 
00051 #endif

Generated on Fri Feb 27 13:17:25 2004 for SUE Library by doxygen1.2.18