class CollectdPacket { public: CollectdPacket( const char *hostname, unsigned long interval ); void addPlugin( const char *plugin ); void addPluginInstance( const char *instance ); void addType( const char *type ); void addTypeInstance( const char *instance ); void addTimestamp( unsigned long timestamp ); void addTimestampHR( unsigned long timestamp ); void addValue( byte type, float value ); word getPacketSize( void ); byte *getPacketBuffer( void ); void resetPacket( void ); }