~ggalancs/ubuntuone-windows-installer/add_vs2010

« back to all changes in this revision

Viewing changes to proto/configuration.proto

  • Committer: Manuel de la Pena
  • Date: 2010-07-12 15:50:38 UTC
  • Revision ID: mandel@themacaque.com-20100712155038-9pqxv99zgmkzcmzn
Updated the proto definition to make its conversion to Csharp nicer. The definition is the same only the names of the fields have changed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
message ConfigurationMessage{
2
2
        // enumerate the different types of messages 
3
3
        // that we have for the configuration
4
 
        enum Type {
 
4
        enum MessageType {
5
5
                // Message that will be send from the client to the daemon
6
6
                // and expect a THROTTLING message in return. 
7
7
                // Client --> Daemon (QUERY_THROTTLING)
36
36
        }
37
37
        
38
38
        // Required type to be able to tell the type of mesage.
39
 
        required Type type = 1;
 
39
        required MessageType type = 1;
40
40
        
41
41
        // Message that will be added when the message type is one of the
42
42
        // following messages:
43
43
        // QUERY_THROTTLING
44
44
        // THROTTLING 
45
45
        // SET_THROTTLING
46
 
        message ThrottlingLimits{
 
46
        message ThrottlingLimitsMessage{
47
47
                required int32 upload = 1;
48
48
                required int32 download = 2;
49
49
        }
53
53
        // QUERY_THROTTLING
54
54
        // THROTTLING 
55
55
        // SET_THROTTLING
56
 
        optional ThrottlingLimits throttling = 2;
 
56
        optional ThrottlingLimitsMessage throttling = 2;
57
57
        
58
58
        // Optional data that is required in one of the following messages:
59
59
        // ENABLE_THROTTLING