#include <NetworkConnection.h>
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 |
| LoomKernel * | mLoomKernel |
|
||||||||||||
|
constructor for the network object. set's up the local plexus node |
|
|
destructor |
|
|
add the agentCollector reference so we can forward on incoming messages to him. |
|
||||||||||||
|
Connect to the given host at the given port |
|
|
|
|
|
|
|
|
|
1.2.14 written by Dimitri van Heesch,
© 1997-2002