Advertisement
simeonvarbanov

Untitled

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