Sha256: 35cf5e97e2057039640ed260e8b38bb2733a3c3ca8529c93877bdec02a999d7f

Contents?: true

Size: 617 Bytes

Versions: 3

Compression:

Stored size: 617 Bytes

Contents

enum MessageType
{
    ERROR_MSG,    
    HELLO,
    DONT_HAVE,

    GET_PEERS,   // gets a list of peers this guy knows about        
    PEERS,

    GET_TX_SET,  // gets a particular txset by hash        
    TX_SET,    

    GET_VALIDATIONS, // gets validations for a given ledger hash        
    VALIDATIONS,    

    TRANSACTION, //pass on a tx you have heard about        
    JSON_TRANSACTION,

    // FBA        
    GET_FBA_QUORUMSET,        
    FBA_QUORUMSET,    
    FBA_MESSAGE
};

enum Color {
    RED=0,  
    GREEN=1,  
    BLUE=2  
};


enum Color2 {
    RED2=RED,  
    GREEN2=1,  
    BLUE2=2  
};

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
xdrgen-0.1.1 spec/fixtures/generator/enum.x
xdrgen-0.1.0 spec/fixtures/generator/enum.x
xdrgen-0.0.1 spec/fixtures/generator/enum.x