Example #1
0
 public static void secondClientStarted() {
   for (MessageRecievedListener l : LISTENER) {
     l.secondClientStarted();
   }
 }
Example #2
0
 public static void receiveAlertFrom(ContactDto contact) {
   for (MessageRecievedListener l : LISTENER) {
     l.alert(contact);
   }
 }
Example #3
0
 public static void fileTransferRequestReceived(FileTransferRequest request, ContactDto contact) {
   for (MessageRecievedListener l : LISTENER) {
     l.fileTransferRequestRecieved(contact, request);
   }
 }
Example #4
0
 public static void receiveMessageFrom(ContactDto contact, ChatMessage message) {
   for (MessageRecievedListener l : LISTENER) {
     l.messageRecieved(contact, message);
   }
 }