Advertisement
simeonvarbanov

Untitled

Oct 31st, 2012
3,473
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
IDL 0.35 KB | None | 0 0
  1. module bank
  2. {
  3. typedef sequence <Account> accounts;
  4. struct Account
  5. {
  6. long accountId;
  7. double balance;
  8. string name;
  9. };
  10. interface Customer
  11. {
  12. boolean payIn(out double amount,out long accountId);
  13. account getAccounts(out string name);
  14. };
  15. interface Administrator
  16. {
  17. void createAccount(in double balance ,in string name);
  18. boolean deleteAccounts(inout long accountId);
  19. };
  20. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement