Code example for EventObject

Methods: getSource

0
 
    private Hashtable<SipProvider, ConferenceTestClient> testerClients = new Hashtable<SipProvider, ConferenceTestClient>();
 
    private ConferenceTestClient getClient(EventObject event) {
         
        SipProvider provider = ( SipProvider ) event.getSource();
        return testerClients.get(provider);
         
    } 
     
    public SipListenerImpl() { 
 
    } 
 
    public void addSlave(SipProvider provider, ConferenceTestClient client) {
        this.testerClients.put(provider, client);
 
    } 
 
    public void processDialogTerminated(DialogTerminatedEvent dte) {
Contextual code suggestions in your IDE  Get Codota for Java