package sanchez.sergio.messages.admin;

/**
 *
 * @author sergio
 */
public enum UsersManadgementMessageType {
    USER_CONNECTED
}

@@ -42,16 +42,42 @@
 %0A/**%0D%0A *
+ Enum with Visitor pattern
 %0D%0A * @au
@@ -137,16 +137,22 @@
 Type %7B%0D%0A
+    %0D%0A
     USER
@@ -161,13 +161,611 @@
 ONNECTED
+ %7B%0D%0A        @Override%0D%0A        public void accept(UsersManadgementVisitor visitor, Long idUser) %7B%0D%0A            visitor.visitUserConnected(idUser);%0D%0A        %7D%0D%0A    %7D,%0D%0A    USER_DISCONNECTED %7B%0D%0A        @Override%0D%0A        public void accept(UsersManadgementVisitor visitor, Long idUser) %7B%0D%0A            visitor.visitUserDisconnected(idUser);%0D%0A        %7D%0D%0A    %7D;%0D%0A    %0D%0A    public abstract void accept( UsersManadgementVisitor visitor, Long idUser );%0D%0A%0D%0A    public interface UsersManadgementVisitor %7B%0D%0A        void visitUserConnected(Long idUser);%0D%0A        void visitUserDisconnected(Long idUser);%0D%0A    %7D
 %0D%0A%7D%0D%0A

implement UsersManadgementMessageType with Visitor Pattern for proccess messages