OpenBus IDL  2.0.1
core.idl
1 
4 #ifndef __TECGRAF_OPENBUS_CORE_V20_IDL__
5 #define __TECGRAF_OPENBUS_CORE_V20_IDL__
6 
8 module tecgraf {
9 
11 module openbus {
12 
14 module core {
15 
16 /* \brief Módulo de versionamento dos Serviços Básicos do OpenBus. */
17 module v2_0 {
18 
20 const octet MajorVersion = 2;
22 const octet MinorVersion = 0;
24 const string BusLogin = "00000000-0000-0000-0000-000000000000";
26 const string BusEntity = "OpenBus";
28 const string BusObjectKey = "OpenBus_2_0";
30 const unsigned short HashValueSize = 32;
32 const unsigned short EncryptedBlockSize = 256;
33 
35 typedef string Identifier;
37 typedef sequence<Identifier> IdentifierSeq;
38 
39 /* TODO: ajustar o código abaixo depois de corrigir o bug do LuaIDL (OIL-40) */
41 typedef octet HashValue[32]; //typedef octet HashValue[HashValueSize];
43 typedef octet EncryptedBlock[256]; //typedef octet EncryptedBlock[EncryptedBlockSize];
44 
46 typedef sequence<octet> OctetSeq;
47 
49 module services {
50 
52  exception UnauthorizedOperation {};
53 
55  exception ServiceFailure { string message; };
56 
57 };
58 
59 }; // version
60 
61 }; // core
62 
63 }; // openbus
64 
65 }; // tecgraf
66 
67 #endif
Indica que a operação chamada não é permitida para a entidade.
Definition: core.idl:52
Exceção que sinaliza uma falha interna num serviço básico.
Definition: core.idl:55