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