コード例 #1
0
int main (void)
{
    setup_test_environment();
    test_heartbeat_timeout();
    test_heartbeat_ttl();
    // Run this test without curve
    test_heartbeat_notimeout(0);
    // Then rerun it with curve
    test_heartbeat_notimeout(1);
}
コード例 #2
0
ファイル: test_heartbeats.cpp プロジェクト: somdoron/libzmq
void test_heartbeat_timeout_router_mock_ping ()
{
    test_heartbeat_timeout (ZMQ_ROUTER, 1);
}
コード例 #3
0
ファイル: test_heartbeats.cpp プロジェクト: somdoron/libzmq
void test_heartbeat_timeout_router ()
{
    test_heartbeat_timeout (ZMQ_ROUTER, 0);
}