blob: 0e2c9be4d2a3bbe12c2010177af60bf4a866c5ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
//$Id$
#include "tao/Base_Connection_Property.h"
#include "tao/Endpoint.h"
#include "tao/IIOP_Endpoint.h"
#if !defined (__ACE_INLINE__)
# include "tao/Base_Connection_Property.i"
#endif /* __ACE_INLINE__ */
ACE_RCSID(tao, Base_Connection_Property, "$Id$")
TAO_Base_Connection_Property *
TAO_Base_Connection_Property::duplicate (void)
{
// Get a copy of the underlying endpoint
TAO_Endpoint *endpt = this->endpoint_->duplicate ();
// Construct a copy of our class
TAO_Base_Connection_Property *prop = 0;
ACE_NEW_RETURN (prop,
TAO_Base_Connection_Property (endpt,
1),
0);
return prop;
}
|