Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Inorder to test client Activity :I considered the following things
- 1)getInputStream.read() -I have n number of clients, so i dont want to keep threads active waiting for return statement -1.
- 2)"isConnected" command is always returning true
- 3)out.checkError() will throw Exception ,i dont wish to throw any Exception and get interrupted
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement