Esempio n. 1
0
 public Integer getLastMessageNumber() {
   return ChatService.getLastMessageNumber();
 }
Esempio n. 2
0
 public Integer publish(String msg) {
   ChatService.publish(msg);
   return 1;
 }
Esempio n. 3
0
 public List<String> getMessagesSince(int last, int howMany) {
   // System.out.println("requesting " + howMany + " msgs, starting from " + lastMsg);
   List<String> msgs = ChatService.getMessagesSince(last, howMany);
   // System.out.println("Got " + msgs.size() + " msgs, will resume from " + lastMsg);
   return msgs;
 }