7475767778798081
public static void addEventObserver(Object observer) { if (observer == null) throw new IllegalArgumentException("observer cannot be null"); if (client.observers.addObserver(observer)) { fireEvent(new ObserverAdded(observer)); } }
8283848586878889
public static void removeEventObserver(Object observer) { if (observer == null) throw new IllegalArgumentException("observer cannot be null"); if (client.observers.removeObserver(observer)) { fireEvent(new ObserverAdded(observer)); } }
8687888990919293
if (observer == null) { throw new IllegalArgumentException("observer cannot be null"); } if (client.observers.addObserver(observer)) { fireEvent(new ObserverAdded(observer)); } }
96979899100101102103
if (observer == null) { throw new IllegalArgumentException("observer cannot be null"); } if (client.observers.removeObserver(observer)) { fireEvent(new ObserverAdded(observer)); } }
7374757677787980
public static void addEventObserver(final Object observer) { if (observer == null) throw new IllegalArgumentException("observer cannot be null"); if (client.observers.addObserver(observer)) { fireEvent(new ObserverAdded(observer)); } }
8182838485868788
public static void removeEventObserver(final Object observer) { if (observer == null) throw new IllegalArgumentException("observer cannot be null"); if (client.observers.removeObserver(observer)) { fireEvent(new ObserverAdded(observer)); } }