int run_big_reply_test (Test::Hello_ptr hello) { ACE_DEBUG((LM_DEBUG, ACE_TEXT("start get_big_reply\n"))); if (test == 2) { ACE_DEBUG((LM_DEBUG, ACE_TEXT("*** NOTE TestCompressor is EXPECTED to throw IDL:omg.org/Compression/CompressionException ***\n"))); } //Prepare to send a large number of bytes. Should be compressed Test::Octet_Seq_var dummy = hello->get_big_reply (); if (dummy->length () > 0) { ACE_DEBUG ((LM_DEBUG, ACE_TEXT("get_big_reply, received = %d bytes\n"), dummy->length ())); } else { ACE_ERROR_RETURN ((LM_ERROR, ACE_TEXT ("ERROR : get_big_reply, ") ACE_TEXT ("error receiving client side blob\n")), 1); } return 0; }