Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

lm::NetworkConnection Class Reference

#include <NetworkConnection.h>

List of all members.

Public Methods

 NetworkConnection (int port, LoomKernel *ac)
 ~NetworkConnection ()
bool connect (std::string host, int port)
void add (LoomKernel *ac)
plx::NodePtr getPlexusNode ()

Private Attributes

plx::NodePtr localNode
LoomKernelmLoomKernel


Constructor & Destructor Documentation

lm::NetworkConnection::NetworkConnection int    port,
LoomKernel   ac
 

constructor for the network object. set's up the local plexus node

lm::NetworkConnection::~NetworkConnection  
 

destructor


Member Function Documentation

void lm::NetworkConnection::add LoomKernel   ac
 

add the agentCollector reference so we can forward on incoming messages to him.

bool lm::NetworkConnection::connect std::string    host,
int    port
 

Connect to the given host at the given port

plx::NodePtr lm::NetworkConnection::getPlexusNode  
 


Member Data Documentation

plx::NodePtr lm::NetworkConnection::localNode [private]
 

LoomKernel* lm::NetworkConnection::mLoomKernel [private]
 


The documentation for this class was generated from the following files:
Generated on Wed Oct 22 21:33:22 2003 for AI Loom by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002