Moved Receiver + ReceivedMessageProcessor in the net package

additionally added serialVersionUIDs for the Event classes
This commit is contained in:
delvh 2020-02-02 13:44:10 +01:00
parent bd61936fde
commit 76a9e2c043
7 changed files with 12 additions and 3 deletions

View File

@ -9,6 +9,8 @@ import java.util.logging.Logger;
import javax.naming.TimeLimitExceededException;
import envoy.client.net.ReceivedMessageProcessor;
import envoy.client.net.Receiver;
import envoy.client.util.EnvoyLog;
import envoy.data.*;
import envoy.event.IdGeneratorRequest;

View File

@ -11,6 +11,8 @@ import envoy.data.Message;
*/
public class MessageCreationEvent extends MessageEvent {
private static final long serialVersionUID = -6451021678064566774L;
/**
* @param message the {@link Message} that has been created
*/

View File

@ -12,6 +12,8 @@ import envoy.event.Event;
*/
public class MessageEvent implements Event<Message> {
private static final long serialVersionUID = 7658989461923112804L;
/**
* the {@link Message} attached to this {@link MessageEvent}.
*/

View File

@ -11,6 +11,8 @@ import envoy.data.Message;
*/
public class MessageModificationEvent extends MessageEvent {
private static final long serialVersionUID = 4650039506439563116L;
/**
* @param message the {@link Message} that has been modified
*/

View File

@ -13,7 +13,8 @@ import envoy.event.Event;
*/
public class ThemeChangeEvent implements Event<Theme> {
private final Theme theme;
private static final long serialVersionUID = 6756772448803774547L;
private final Theme theme;
/**
* Initializes a {@link ThemeChangeEvent} conveying information about the change

View File

@ -1,4 +1,4 @@
package envoy.client;
package envoy.client.net;
import java.util.function.Consumer;
import java.util.logging.Logger;

View File

@ -1,4 +1,4 @@
package envoy.client;
package envoy.client.net;
import java.io.ByteArrayInputStream;
import java.io.InputStream;