Изменен формат сообщений в ws, рефакторинг

This commit is contained in:
serega6531
2019-11-25 00:52:08 +03:00
parent 9b5a61f023
commit 43d6973948
19 changed files with 87 additions and 39 deletions

View File

@@ -0,0 +1,5 @@
package ru.serega6531.packmate.model.enums;
public enum PatternType {
INPUT, OUTPUT, BOTH
}

View File

@@ -0,0 +1,5 @@
package ru.serega6531.packmate.model.enums;
public enum Protocol {
TCP, UDP
}

View File

@@ -0,0 +1,7 @@
package ru.serega6531.packmate.model.enums;
public enum SubscriptionMessageType {
SAVE_SERVICE, SAVE_PATTERN, DELETE_SERVICE, DELETE_PATTERN, NEW_STREAM
}