Ignore:
Timestamp:
06/29/13 20:44:27 (11 years ago)
Author:
stoda
Message:

Events deleted instead of them there's a new example of how to use the observer pattern

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/main/java/omq/Remote.java

    r44 r72  
    11package omq;
    22
    3 import java.io.IOException;
    43import java.io.Serializable;
    5 import java.util.Collection;
    6 
    7 import omq.common.event.Event;
    8 import omq.common.event.EventListener;
    9 import omq.exception.SerializerException;
    104
    115/**
     
    2216         */
    2317        public String getRef();
    24 
    25         public void notifyEvent(Event event) throws IOException, SerializerException;
    26 
    27         public void addListener(EventListener<?> eventListener) throws Exception;
    28 
    29         public void removeListener(EventListener<?> eventListener) throws Exception;
    30 
    31         public Collection<EventListener<?>> getListeners() throws Exception;
    3218}
Note: See TracChangeset for help on using the changeset viewer.