Server.cpp

См. документацию.
00001 /*
00002  * Server.cpp
00003  *
00004  *  Created on: 09.04.2011
00005  *      Author: nick
00006  */
00007 
00008 #include "Server.h"
00009 
00010 void Server::startXMLTagNodeHandler(Node* node){
00011         cout<< "====================== START STREAM ===================="<<endl;
00012         curNodeSend=new Node("stream:stream",NULL);
00013         sendNodeStart(*curNodeSend);
00014 }
00015 
00016 void Server::endXMLTagNodeHandler(Node* node){
00017         cout<< "======================= END STREAM ====================="<<endl;
00018         sendNodeEnd(*curNodeSend);
00019         delete curNodeSend;
00020         curNodeSend=NULL;
00021 }
00022 
00023 //template <class Listener_T>
00024 //void Server /* <Listener_T>*/::accept(u_int16_t skt_id){
00025 //    this->skt_id=accept(skt_id);
00026 //}
00027 
00028 
00029 Server::Server():Protocol() {
00030     // TODO Auto-generated constructor stub
00031 }
00032 
00033 Server::~Server() {
00034     // TODO Auto-generated destructor stub
00035     
00036 }