Ejemplo n.º 1
0
EndpointIPtr
IceInternal::TcpEndpointFactory::create(vector<string>& args, bool oaEndpoint) const
{
    IPEndpointIPtr endpt = ICE_MAKE_SHARED(TcpEndpointI, _instance);
    endpt->initWithOptions(args, oaEndpoint);
    return endpt;
}
Ejemplo n.º 2
0
EndpointIPtr
IceInternal::StreamEndpointFactory::create(vector<string>& args, bool oaEndpoint) const
{
    IPEndpointIPtr endpt = new StreamEndpointI(_instance);
    endpt->initWithOptions(args, oaEndpoint);
    return endpt;
}