コード例 #1
0
ファイル: TcpEndpointI.cpp プロジェクト: 465060874/ice
EndpointIPtr
IceInternal::TcpEndpointFactory::create(vector<string>& args, bool oaEndpoint) const
{
    IPEndpointIPtr endpt = ICE_MAKE_SHARED(TcpEndpointI, _instance);
    endpt->initWithOptions(args, oaEndpoint);
    return endpt;
}
コード例 #2
0
ファイル: StreamEndpointI.cpp プロジェクト: chenbk85/ice
EndpointIPtr
IceInternal::StreamEndpointFactory::create(vector<string>& args, bool oaEndpoint) const
{
    IPEndpointIPtr endpt = new StreamEndpointI(_instance);
    endpt->initWithOptions(args, oaEndpoint);
    return endpt;
}