1 package org.columba.chat.conn.api; 19 20 import java.util.EventObject ; 21 22 import org.columba.chat.config.api.IAccount; 23 import org.columba.chat.conn.api.IConnection.STATUS; 24 25 26 public class ConnectionChangedEvent extends EventObject { 27 28 private IAccount account; 29 30 private STATUS status; 31 32 35 public STATUS getStatus() { 36 return status; 37 } 38 39 public ConnectionChangedEvent(Object source, IAccount account, STATUS status) { 40 super(source); 41 42 this.account = account; 43 this.status = status; 44 } 45 46 49 public IAccount getAccount() { 50 return account; 51 } 52 53 } | Popular Tags |