@@ -0,0 +1,2658 @@
+/*%0A * @#NewNetworkServiceMessageReceivedEvent.java - 2015%0A * Copyright bitDubai.com., All rights reserved.%0A%C2%A0* You may not modify, use, reproduce or distribute this software.%0A * BITDUBAI/CONFIDENTIAL%0A */%0Apackage com.bitdubai.fermat_p2p_api.layer.p2p_communication.cloud.events;%0A%0Aimport com.bitdubai.fermat_api.layer.all_definition.event.PlatformEvent;%0Aimport com.bitdubai.fermat_api.layer.pip_platform_service.event_manager.EventSource;%0Aimport com.bitdubai.fermat_api.layer.pip_platform_service.event_manager.EventType;%0Aimport com.bitdubai.fermat_p2p_api.layer.p2p_communication.CommunicationChannels;%0Aimport com.bitdubai.fermat_p2p_api.layer.p2p_communication.Message;%0A%0A/**%0A * The Class %3Ccode%3Ecom.bitdubai.fermat_p2p_api.layer.p2p_communication.cloud_server.events.NewNetworkServiceMessageReceivedEvent%3C/code%3E represent the event%0A * when a new Network Service Message is received%0A * %3Cp/%3E%0A * Created by Roberto Requena - (rart3001@gmail.com) on 26/06/15.%0A *%0A * @version 1.0%0A * @since Java JDK 1.7%0A */%0Apublic class NewNetworkServiceMessageReceivedEvent implements PlatformEvent %7B%0A%0A    /**%0A     *  Represent the eventType%0A     */%0A    private EventType eventType;%0A%0A    /**%0A     *  Represent the eventSource%0A     */%0A    private EventSource eventSource;%0A%0A    /**%0A     *  Represent the message%0A     */%0A    private Message message;%0A%0A    /**%0A     * Constructor with parameter%0A     *%0A     * @param eventType type of the event%0A     */%0A    public NewNetworkServiceMessageReceivedEvent(EventType eventType)%7B%0A        this.eventType = eventType;%0A    %7D%0A%0A    /**%0A     * Constructor with parameters%0A     *%0A     * @param eventSource the event source%0A     * @param eventType   the event type%0A     * @param message received%0A     */%0A    public NewNetworkServiceMessageReceivedEvent(EventSource eventSource, EventType eventType, Message message) %7B%0A%0A        this.eventSource = eventSource;%0A        this.eventType   = eventType;%0A        this.message     = message;%0A    %7D%0A%0A    /**%0A     * (non-Javadoc)%0A     *%0A     * @see PlatformEvent#getEventType()%0A     */%0A    @Override%0A    public EventType getEventType() %7B%0A        return this.eventType;%0A    %7D%0A%0A    /**%0A     * (non-Javadoc)%0A     *%0A     * @see PlatformEvent#setSource(EventSource)%0A     */%0A    @Override%0A    public void setSource(EventSource eventSource) %7B%0A        this.eventSource = eventSource;%0A    %7D%0A%0A    /**%0A     * (non-Javadoc)%0A     *%0A     * @see PlatformEvent#getSource()%0A     */%0A    @Override%0A    public EventSource getSource() %7B%0A        return this.eventSource;%0A    %7D%0A%0A    /**%0A     * Return the message received%0A     *%0A     * @return message received%0A     */%0A    public Message getMessage() %7B%0A        return message;%0A    %7D%0A%7D%0A

Add new class NewNetworkServiceMessageReceivedEvent