lsp_test_proxy.cc
Go to the documentation of this file.
00001 #include "lsp_test_proxy.hh"
00002 
00003 using namespace lspTest;
00004 
00005 const double Proxy::Delta = 0.01;
00006 
00007 void Proxy::connect() {
00008         client = playerc_client_create( NULL, "localhost", 6665 );
00009         CPPUNIT_ASSERT( playerc_client_connect( client ) == 0 );
00010         CPPUNIT_ASSERT( playerc_client_datamode (client, PLAYERC_DATAMODE_PULL) == 0 );
00011         CPPUNIT_ASSERT( playerc_client_set_replace_rule (client, -1, -1, PLAYER_MSGTYPE_DATA, -1, 1) == 0 );
00012 }
00013 
00014 void Proxy::disconnect() {
00015         CPPUNIT_ASSERT( playerc_client_disconnect( client ) == 0 );
00016         playerc_client_destroy( client );
00017 }


stage
Author(s): Richard Vaughan , Brian Gerkey , Reed Hedges , Andrew Howard , Toby Collett , Pooya Karimian , Jeremy Asher , Alex Couture-Beil , Geoff Biggs , Rich Mattes , Abbas Sadat
autogenerated on Thu Aug 27 2015 15:20:57