#include <Board.h>
Public Member Functions | |
virtual unsigned char * | getBuffer (int &buf_len) |
char | getBuffer (int *length) |
void | initMessage () |
Message () | |
Message () | |
Message (char dlm, char cmd, ushort len) | |
virtual unsigned char * | parseBuffer () |
void | parseBuffer () |
virtual void | parseBuffer (unsigned char *buf) |
~Message () | |
~Message () | |
Protected Attributes | |
unsigned char * | body |
Private Member Functions | |
void | create_threads () |
Private Attributes | |
int | bytes_recieved |
char | command |
char | delim |
struct hostent * | host |
ushort | length |
int | max_curr |
int | max_vol |
char | n |
unsigned char | nbuffer [255] |
unsigned char * | p |
unsigned char | recv_data [255] |
unsigned char | send_data [255] |
bool | sendSignal |
struct sockaddr_in | server_addr |
int | sock |
Message::Message | ( | ) |
Definition at line 22 of file Message.cpp.
Definition at line 29 of file Message.cpp.
Message::Message | ( | ) |
Message::Message | ( | char | dlm, |
char | cmd, | ||
ushort | len | ||
) |
Definition at line 24 of file Message.cpp.
void Message::create_threads | ( | ) | [private] |
virtual unsigned char* Message::getBuffer | ( | int & | buf_len | ) | [inline, virtual] |
Reimplemented in MessageChannelOnOff, MessageRequest, and MessageBroadCasting.
char Message::getBuffer | ( | int * | length | ) |
void Message::initMessage | ( | ) |
void Message::parseBuffer | ( | ) |
virtual unsigned char* Message::parseBuffer | ( | ) | [inline, virtual] |
virtual void Message::parseBuffer | ( | unsigned char * | buf | ) | [inline, virtual] |
Reimplemented in MessageAcknowledgment, MessageMeasurments, and MessageSpefications.
unsigned char* Message::body [protected] |
int Message::bytes_recieved [private] |
char Message::command [private] |
char Message::delim [private] |
struct hostent* Message::host [private] |
ushort Message::length [private] |
int Message::max_curr [private] |
int Message::max_vol [private] |
char Message::n [private] |
unsigned char Message::nbuffer[255] [private] |
unsigned char* Message::p [private] |
unsigned char Message::recv_data[255] [private] |
unsigned char Message::send_data[255] [private] |
bool Message::sendSignal [private] |
struct sockaddr_in Message::server_addr [private] |
int Message::sock [private] |