SockIt

Server.h

Go to the documentation of this file.
00001 /*
00002  * Server.h
00003  *
00004  *  Created on: Jun 10, 2011
00005  *      Author: jtedesco
00006  */
00007 
00008 #ifndef SERVER_H_
00009 #define SERVER_H_
00010 
00011 #include "NetworkObject.h"
00012 
00017 class Server: public NetworkObject
00018 {
00019     public:
00020 
00024         Server();
00025 
00029         virtual ~Server() {}
00030 
00036         virtual void start_listening() = 0;
00037 
00041         virtual int get_port() = 0;
00042 
00046         FB_JSAPI_EVENT(open, 0, ());
00047 };
00048 
00049 
00050 #endif /* SERVER_H_ */
 All Classes Files Functions Variables Typedefs Friends Defines