Moved Receiver + ReceivedMessageProcessor in the net package
additionally added serialVersionUIDs for the Event classes
This commit is contained in:
parent
bd61936fde
commit
76a9e2c043
@ -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;
|
||||
|
@ -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
|
||||
*/
|
||||
|
@ -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}.
|
||||
*/
|
||||
|
@ -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
|
||||
*/
|
||||
|
@ -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
|
||||
|
@ -1,4 +1,4 @@
|
||||
package envoy.client;
|
||||
package envoy.client.net;
|
||||
|
||||
import java.util.function.Consumer;
|
||||
import java.util.logging.Logger;
|
@ -1,4 +1,4 @@
|
||||
package envoy.client;
|
||||
package envoy.client.net;
|
||||
|
||||
import java.io.ByteArrayInputStream;
|
||||
import java.io.InputStream;
|
Reference in New Issue
Block a user