Biblioteca Java - Blame information for rev 31

Subversion Repositories:
Rev:
Rev Author Line No. Line
31 mihai 1 package test.clientserver;
2  
3 public class MessageProtocol {
4     static long id;
5     public String handleProtocolMessage(String messageText) {
6         String responseText;
7         id++;
8         System.out.println("::: Processing message "+id);
9         if ("MyProtocolMessage".equalsIgnoreCase(messageText)) {
10             responseText = "I recognize your protocol message "+id;
11         } else {
12             responseText = "Unknown protocol message: " + messageText;
13         }
14  
15         return responseText;
16     }
17 }