Update artifact id, Fix message decoding
This commit is contained in:
parent
9ccf4f8cf6
commit
b7a6de759e
2
pom.xml
2
pom.xml
@ -3,7 +3,7 @@
|
|||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>me.mrletsplay</groupId>
|
<groupId>me.mrletsplay</groupId>
|
||||||
<artifactId>ShareClient-Core</artifactId>
|
<artifactId>ShareLib</artifactId>
|
||||||
<version>1.0-SNAPSHOT</version>
|
<version>1.0-SNAPSHOT</version>
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
@ -26,6 +26,10 @@ public interface Message extends SerializableObject {
|
|||||||
case PEER_JOIN -> m = PeerJoinMessage.deserialize(dIn);
|
case PEER_JOIN -> m = PeerJoinMessage.deserialize(dIn);
|
||||||
case PEER_LEAVE -> m = PeerLeaveMessage.deserialize(dIn);
|
case PEER_LEAVE -> m = PeerLeaveMessage.deserialize(dIn);
|
||||||
case CHANGE -> m = ChangeMessage.deserialize(dIn);
|
case CHANGE -> m = ChangeMessage.deserialize(dIn);
|
||||||
|
case REQUEST_FULL_SYNC -> m = RequestFullSyncMessage.deserialize(dIn);
|
||||||
|
case REQUEST_CHECKSUM -> m = RequestChecksumMessage.deserialize(dIn);
|
||||||
|
case FULL_SYNC -> m = FullSyncMessage.deserialize(dIn);
|
||||||
|
case CHECKSUM -> m = ChecksumMessage.deserialize(dIn);
|
||||||
default -> m = new BasicMessage(type);
|
default -> m = new BasicMessage(type);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user