dmuNetworkSend
Inherits from: dmuNetwork
#include "dmuNetworkSend.h"
Overview
This object sits at the end of a chain and it take that buffers
passed to it and sends them across the network.
See the source code for more info and implementation details.
Public Methods
- dmuNetworkSend()
Constructor: This constructor sets up some default values.
- ~dmuNetworkSend()
Destructor: Right now this does nothing.
- int init(dmuParams *params = NULL)
This method calls the dmuObj::init method
- virtual int start(int propagate = DMU_PROPAGATE)
This object calls start on the rest of the chain. You must have
set the network data object before calling start or this will
method will fail
- int receive(DMbuffer inBuffer)
This is the method that actually sends the data across the network.
remember that this is never called directly, it is called from the
parent by the parent's handleEvents method
- int handleEvents(fd_set fdSet)
This method just returns ok.
- void setHeaderValue(int val)
allows the use to set a header value to go with the data across the
network.
Overview Object List Object Hierarchy
Sample Apps