Beispiel #1
0
 public Integer getLastMessageNumber() {
   return ChatService.getLastMessageNumber();
 }
Beispiel #2
0
 public Integer publish(String msg) {
   ChatService.publish(msg);
   return 1;
 }
Beispiel #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;
 }