|
| ICQ
CreateICQNotification
()
throw Exception
|
|
| ICQ notification object |
|
| | Personalizer pers = null; |
| | Session sess = null; |
| | try{ |
| | //Create personalizer object and Session object |
| | pers = new Personalizer(); |
| | sess = pers.CreateSession("LogonName", "Password"); |
| | //Create ICQ Notification object |
| | ICQ oICQ = sess.CreateICQNotification(); |
| | ...; |
| | //Release ICQ Notification object |
| | oICQ.Release(); |
| | sess.Release(); |
| | } |
| | catch(Exception e){ |
| | //Print exception message e.Message |
| | System.out.println(e.Message); |
| | sess.Release(); |
| | } |