Advertisement
Guest User

Untitled

a guest
Aug 7th, 2008
1,389
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.31 KB | None | 0 0
  1. class SomeClientClass
  2. {
  3. ....
  4.     void logout(int serviceType)
  5.     {
  6.         switch(serviceType)
  7.         {
  8.             case YAHOO:
  9.             {
  10.                 ChatManager.logoutYahoo();
  11.                 break;
  12.             }
  13.             case MSN:
  14.             {
  15.                 ChatManager.logoutMsn();
  16.                 break;
  17.             }
  18.             case GTALK:
  19.             {
  20.                 ChatManager.logoutGtalk();
  21.                 break;
  22.             }
  23.         }
  24.     }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement