server context implementation

This commit is contained in:
Gasper Jansa
2011-01-31 22:52:25 +01:00
parent 5ee480beee
commit 327efbcf80
5 changed files with 977 additions and 10 deletions

View File

@@ -0,0 +1,29 @@
/*
* testServerContext.cpp
*/
#include "serverContext.h"
using namespace epics::pvAccess;
using namespace epics::pvData;
using namespace std;
void testServerContext()
{
ServerContextImpl ctx;
ctx.initialize(NULL);
ctx.printInfo();
ctx.run(1);
ctx.destroy();
}
int main(int argc, char *argv[])
{
testServerContext();
return (0);
}