Resolved requests
This commit is contained in:
parent
439e274c37
commit
ad3f298593
@ -47,7 +47,6 @@ public final class Group extends Contact {
|
||||
outputStream.defaultWriteObject();
|
||||
getContacts().forEach(user -> user.serializeContacts(false));
|
||||
outputStream.writeObject(getContacts());
|
||||
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
|
@ -55,7 +55,6 @@ public final class GroupMessage extends Message {
|
||||
case RECEIVED:
|
||||
setReceivedDate(new Date());
|
||||
break;
|
||||
|
||||
case READ:
|
||||
setReadDate(new Date());
|
||||
break;
|
||||
|
@ -21,7 +21,7 @@ public final class User extends Contact {
|
||||
private UserStatus status;
|
||||
|
||||
/**
|
||||
* Used to serialize contact list to a maximum depth of one
|
||||
* Used to serialize contact list to a maximum depth of one.
|
||||
*/
|
||||
private transient boolean serializeContacts = true;
|
||||
|
||||
|
@ -13,14 +13,16 @@ package envoy.event;
|
||||
* @since Envoy Common v0.1-beta
|
||||
*/
|
||||
public enum ElementOperation {
|
||||
|
||||
/**
|
||||
* Select this element, if the given element should be added to the given
|
||||
* container
|
||||
* container.
|
||||
*/
|
||||
ADD,
|
||||
|
||||
/**
|
||||
* Select this element, if the given element should be removed from the given
|
||||
* container
|
||||
* container.
|
||||
*/
|
||||
REMOVE
|
||||
}
|
||||
|
@ -8,7 +8,7 @@ import envoy.data.User;
|
||||
* This event is used to communicate changes in the group size between client
|
||||
* and server.<br>
|
||||
* Possible actions are adding or removing certain {@link User}s to or from a
|
||||
* certain {@link Group}
|
||||
* certain {@link Group}.
|
||||
* <br>
|
||||
* Project: <strong>envoy-common</strong><br>
|
||||
* File: <strong>GroupResizeEvent.java</strong><br>
|
||||
|
Reference in New Issue
Block a user