|
| String
GetSearchString
()
throw Exception
|
|
| Search String value |
|
| | Personalizer pers = null; |
| | Session sess = null; |
| | try{ |
| | //Create personalizer object and Session object |
| | pers = new Personalizer(); |
| | sess = pers.CreateSession("LogonName", "Password"); |
| | //Create MSN notification object |
| | MSN objMSN = sess.CreateMSNNotification(); |
| | int NotificationSequenceNumber; |
| | NotificationSequenceNumber=GetNotificationSequenceNumber()+1
;
// using some user function |
| | objMSN.SetSearchString(NotificationSequenceNumber) ; |
| | ...; |
| | SaveNotificationSequenceNumber(objMSN.GetSearchString())
;
// retrieve and save search string |
| | objMSN.Release(); |
| | sess.Release(); |
| | } |
| | catch(Exception e){ |
| | //Print exception message e.Message |
| | System.out.println(e.Message); |
| | sess.Release(); |
| | } |