m2etis  0.4
m2etis::net::NetworkFactory Class Reference

NetworkFactory. More...

#include <NetworkFactory.h>

Public Member Functions

 NetworkFactory (const std::string &listenIP, const unsigned short listenPort, const std::string &connectIP, const unsigned short connectPort, pubsub::PubSubSystemEnvironment *pssi)
 
 ~NetworkFactory ()
 
template<class NetworkType >
NetworkController< NetworkType > * createNetworkController (NetworkType)
 creates NetworkController More...
 
NetworkController< NetworkType< TCP > > * createNetworkController (NetworkType< TCP >)
 
NetworkController< NetworkType< UDP > > * createNetworkController (NetworkType< UDP >)
 
NetworkController< NetworkType< clockTCP > > * createNetworkController (NetworkType< clockTCP >)
 

Detailed Description

NetworkFactory.

Long Desc

Definition at line 44 of file NetworkFactory.h.

Constructor & Destructor Documentation

m2etis::net::NetworkFactory::NetworkFactory ( const std::string &  listenIP,
const unsigned short  listenPort,
const std::string &  connectIP,
const unsigned short  connectPort,
pubsub::PubSubSystemEnvironment pssi 
)
m2etis::net::NetworkFactory::~NetworkFactory ( )

Member Function Documentation

template<class NetworkType >
NetworkController<NetworkType>* m2etis::net::NetworkFactory::createNetworkController ( NetworkType  )
inline

creates NetworkController

Parameters
[in]NetworkTypeNetworkType
Returns
Returns a NetworkController object

Definition at line 56 of file NetworkFactory.h.

NetworkController<NetworkType<TCP> >* m2etis::net::NetworkFactory::createNetworkController ( NetworkType< TCP )
NetworkController<NetworkType<UDP> >* m2etis::net::NetworkFactory::createNetworkController ( NetworkType< UDP )
NetworkController<NetworkType<clockTCP> >* m2etis::net::NetworkFactory::createNetworkController ( NetworkType< clockTCP )

The documentation for this class was generated from the following file: