Changes between Version 5 and Version 6 of doc/developer/TokenArchitecture

Show
Ignore:
Timestamp:
06/01/07 19:45:47 (15 years ago)
Author:
benoitg
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • doc/developer/TokenArchitecture

    v5 v6  
    1010token_templates 
    1111 * token_network (Note:  Server-wide tokens aren't supported, but the code will look up the tokens of networks you peer with) 
    12  * token_max_data_transfer Ex: Allows capping bandwidth 
     12 * token_max_incoming_data Ex: Allows capping bandwidth 
     13 * token_max_outgoing_data Ex: Allows capping bandwidth 
     14 * token_max_total_data Ex: Allows capping bandwidth 
    1315 * token_max_connection_duration: Ex: Allows limiting the length of a single connection 
    1416 * token_max_usage_duration: Ex: Allows selling access by the hour (counting only when in use) 
     
    3234connection (new or redefined field in existing table) 
    3335 * token_id Now references the tokens table 
    34  * max_data_transfer   (token_max_data_transfer - SUM(data transfer for all connections on this token)) 
     36 * max_total_data (token_max_data_transfer - SUM(data transfer for all connections on this token)) 
     37 * max_incoming_data Similar to above 
     38 * max_outgoing_data Similar to above 
    3539 * expiration_date (MIN(NOW+token_max_connection_duration, NOW+token_max_total_duration-SUM(data transfer for all connections on this token), token_expiration_date)) 
    36  
     40 * logout_reason Explains what caused the connection to be closed