server context implementation
This commit is contained in:
29
testApp/remote/testServerContext.cpp
Normal file
29
testApp/remote/testServerContext.cpp
Normal 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);
|
||||
}
|
||||
Reference in New Issue
Block a user