summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-04-20 00:02:15 +0000
committerbrunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-04-20 00:02:15 +0000
commit89a367c1305f20f362d1f3fc96509cb3a7149371 (patch)
treecf9832ca5f310e331daae5ec19512396eb5e50e9
parent44f416188d27faf9185d7abceaf0e1203cff8c4c (diff)
downloadATCD-89a367c1305f20f362d1f3fc96509cb3a7149371.tar.gz
Removed read_ior () method which was not being used.
-rw-r--r--TAO/orbsvcs/tests/ImplRepo/nestea_client_i.cpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/TAO/orbsvcs/tests/ImplRepo/nestea_client_i.cpp b/TAO/orbsvcs/tests/ImplRepo/nestea_client_i.cpp
index 46471c24ce8..4ed1a895e0e 100644
--- a/TAO/orbsvcs/tests/ImplRepo/nestea_client_i.cpp
+++ b/TAO/orbsvcs/tests/ImplRepo/nestea_client_i.cpp
@@ -13,30 +13,6 @@ Nestea_Client_i::Nestea_Client_i (void)
{
}
-// Reads the Server factory ior from a file
-
-int
-Nestea_Client_i::read_ior (char *filename)
-{
- // Open the file for reading.
- ACE_HANDLE f_handle_ = ACE_OS::open (filename, 0);
-
- if (f_handle_ == ACE_INVALID_HANDLE)
- ACE_ERROR_RETURN ((LM_ERROR,
- "Unable to open %s for writing: %p\n",
- filename),
- -1);
- ACE_Read_Buffer ior_buffer (f_handle_);
- this->server_key_ = ior_buffer.read ();
-
- if (this->server_key_ == 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- "Unable to allocate memory to read ior: %p\n"),
- -1);
-
- ACE_OS::close (f_handle_);
- return 0;
-}
// Parses the command line arguments and returns an error status.