[brlcad-commits] SF.net SVN: brlcad:[40257]
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <dav...@us...> - 2010-08-19 19:18:57
|
Revision: 40257 http://brlcad.svn.sourceforge.net/brlcad/?rev=40257&view=rev Author: davidloman Date: 2010-08-19 19:18:50 +0000 (Thu, 19 Aug 2010) Log Message: ----------- Stub in tcp and udp subclasses of PkgServer in prep for inheritance heirarchy change. Added Paths: ----------- rt^3/trunk/src/libPkgCpp/PkgTcpServer.cxx rt^3/trunk/src/libPkgCpp/PkgTcpServer.h rt^3/trunk/src/libPkgCpp/PkgUdpServer.cxx rt^3/trunk/src/libPkgCpp/PkgUdpServer.h Added: rt^3/trunk/src/libPkgCpp/PkgTcpServer.cxx =================================================================== --- rt^3/trunk/src/libPkgCpp/PkgTcpServer.cxx (rev 0) +++ rt^3/trunk/src/libPkgCpp/PkgTcpServer.cxx 2010-08-19 19:18:50 UTC (rev 40257) @@ -0,0 +1,48 @@ +/* P K G T C P S E R V E R . C X X + * BRL-CAD + * + * Copyright (c) 2010 United States Government as represented by + * the U.S. Army Research Laboratory. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * version 2.1 as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this file; see the file named COPYING for more + * information. + */ +/** @file PkgTcpServer.cxx + * PkgTcpServer.cxx + * + * Created on: Aug 19, 2010 + * Author: dloman + */ + +#include "PkgTcpServer.h" + +PkgTcpServer::PkgTcpServer(pkg_switch callbacks[]) : + PkgServer(PKGCPP_PROTO_TCP, callbacks) +{ + // TODO Auto-generated constructor stub + +} + +PkgTcpServer::~PkgTcpServer() +{ + // TODO Auto-generated destructor stub +} + +// Local Variables: +// tab-width: 8 +// mode: C++ +// c-basic-offset: 4 +// indent-tabs-mode: t +// c-file-style: "stroustrup" +// End: +// ex: shiftwidth=4 tabstop=8 Property changes on: rt^3/trunk/src/libPkgCpp/PkgTcpServer.cxx ___________________________________________________________________ Added: svn:mime-type + text/plain Added: svn:keywords + Revision Date Author Added: svn:eol-style + native Added: rt^3/trunk/src/libPkgCpp/PkgTcpServer.h =================================================================== --- rt^3/trunk/src/libPkgCpp/PkgTcpServer.h (rev 0) +++ rt^3/trunk/src/libPkgCpp/PkgTcpServer.h 2010-08-19 19:18:50 UTC (rev 40257) @@ -0,0 +1,50 @@ +/* P K G T C P S E R V E R . H + * BRL-CAD + * + * Copyright (c) 2010 United States Government as represented by + * the U.S. Army Research Laboratory. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * version 2.1 as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this file; see the file named COPYING for more + * information. + */ +/** @file PkgTcpServer.h + * PkgTcpServer.h + * + * Created on: Aug 19, 2010 + * Author: dloman + */ + +#ifndef __PKGTCPSERVER_H__ +#define __PKGTCPSERVER_H__ + +#include "PkgServer.h" + +class PkgTcpServer : public PkgServer +{ +public: + PkgTcpServer(pkg_switch callbacks[]); + virtual + ~PkgTcpServer(); +}; + +#endif /* __PKGTCPSERVER_H__ */ + +/* + * Local Variables: + * tab-width: 8 + * mode: C + * indent-tabs-mode: t + * c-file-style: "stroustrup" + * End: + * ex: shiftwidth=4 tabstop=8 + */ Property changes on: rt^3/trunk/src/libPkgCpp/PkgTcpServer.h ___________________________________________________________________ Added: svn:mime-type + text/plain Added: svn:keywords + Revision Date Author Added: svn:eol-style + native Added: rt^3/trunk/src/libPkgCpp/PkgUdpServer.cxx =================================================================== --- rt^3/trunk/src/libPkgCpp/PkgUdpServer.cxx (rev 0) +++ rt^3/trunk/src/libPkgCpp/PkgUdpServer.cxx 2010-08-19 19:18:50 UTC (rev 40257) @@ -0,0 +1,48 @@ +/* P K G U D P S E R V E R . C X X + * BRL-CAD + * + * Copyright (c) 2010 United States Government as represented by + * the U.S. Army Research Laboratory. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * version 2.1 as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this file; see the file named COPYING for more + * information. + */ +/** @file PkgUdpServer.cxx + * PkgUdpServer.cxx + * + * Created on: Aug 19, 2010 + * Author: dloman + */ + +#include "PkgUdpServer.h" + +PkgUdpServer::PkgUdpServer(pkg_switch callbacks[]) : +PkgServer(PKGCPP_PROTO_UDP, callbacks) +{ + // TODO Auto-generated constructor stub + +} + +PkgUdpServer::~PkgUdpServer() +{ + // TODO Auto-generated destructor stub +} + +// Local Variables: +// tab-width: 8 +// mode: C++ +// c-basic-offset: 4 +// indent-tabs-mode: t +// c-file-style: "stroustrup" +// End: +// ex: shiftwidth=4 tabstop=8 Property changes on: rt^3/trunk/src/libPkgCpp/PkgUdpServer.cxx ___________________________________________________________________ Added: svn:mime-type + text/plain Added: svn:keywords + Revision Date Author Added: svn:eol-style + native Added: rt^3/trunk/src/libPkgCpp/PkgUdpServer.h =================================================================== --- rt^3/trunk/src/libPkgCpp/PkgUdpServer.h (rev 0) +++ rt^3/trunk/src/libPkgCpp/PkgUdpServer.h 2010-08-19 19:18:50 UTC (rev 40257) @@ -0,0 +1,49 @@ +/* P K G U D P S E R V E R . H + * BRL-CAD + * + * Copyright (c) 2010 United States Government as represented by + * the U.S. Army Research Laboratory. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * version 2.1 as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this file; see the file named COPYING for more + * information. + */ +/** @file PkgUdpServer.h + * PkgUdpServer.h + * + * Created on: Aug 19, 2010 + * Author: dloman + */ + +#ifndef __PKGUDPSERVER_H__ +#define __PKGUDPSERVER_H__ + +#include "PkgServer.h" + +class PkgUdpServer : public PkgServer +{ +public: + PkgUdpServer(pkg_switch callbacks[]); + virtual ~PkgUdpServer(); +}; + +#endif /* __PKGUDPSERVER_H__ */ + +/* + * Local Variables: + * tab-width: 8 + * mode: C + * indent-tabs-mode: t + * c-file-style: "stroustrup" + * End: + * ex: shiftwidth=4 tabstop=8 + */ Property changes on: rt^3/trunk/src/libPkgCpp/PkgUdpServer.h ___________________________________________________________________ Added: svn:mime-type + text/plain Added: svn:keywords + Revision Date Author Added: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |