pelican/core/src/PelicanServerClient.cpp
/**
 * Creates a Pelican server client for communication with a PelicanServer.
 * Communications are made using the PelicanClientProtocol on the host address
 * and port specified in the configuration node.
 *
 * @param configNode
 * @param types
 * @param config
 */
Creates a Pelican server client for communication with a PelicanServer.
Communications are made using the PelicanClientProtocol on the host address
and port specified in the configuration node.


Creates a Pelican server client for communication with a PelicanServer . Communications are made using the PelicanClientProtocol on the host address and port specified in the configuration node .
PelicanServerClient::PelicanServerClient(const ConfigNode& configNode,
        const DataTypes& types, const Config* config
        )
    : AbstractAdaptingDataClient(configNode, types, config)
        , _protocol(0), _specRecieved(false)
{
    _protocol = new PelicanClientProtocol;
    setIP_Address(configNode.getOption("server", "host"));
    setPort(configNode.getOption("server", "port").toUInt());
}
PelicanServerClient :: PelicanServerClient ( const ConfigNode & configNode , const DataTypes & types , const Config * config ) : AbstractAdaptingDataClient ( configNode , types , config ) , _protocol ( 0 ) , _specRecieved ( false ) { _protocol = new PelicanClientProtocol ; setIP_Address ( configNode . getOption ( " " , " " ) ) ; setPort ( configNode . getOption ( " " , " " ) . toUInt ( ) ) ; }
Creates a Pelican server client for communication with a PelicanServer.
Creates a Pelican server client for communication with a PelicanServer .