widerules / simpleim-android

Automatically exported from code.google.com/p/simpleim-android
0 stars 0 forks source link

UserInfo must contain only allowerd status, the same with other datatypes #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Making a new UserInfo object from a string - must check that the values are 
only those allowed.

Original issue reported on code.google.com by Tartu...@gmail.com on 10 Dec 2012 at 9:08

GoogleCodeExporter commented 9 years ago
the same think with other datatypes

Original comment by Tartu...@gmail.com on 10 Dec 2012 at 9:10

GoogleCodeExporter commented 9 years ago

Original comment by Tartu...@gmail.com on 10 Dec 2012 at 9:10

GoogleCodeExporter commented 9 years ago
Done.
UserInfo must contain only ONLINE_STATUS or OFFLINE_STATUS as status and a 
port>=1 && port<=65XXX.

Other types are ok - the various Answer messages must contain only predefined 
values.

Original comment by Tartu...@gmail.com on 13 Dec 2012 at 8:52