Compare commits
No commits in common. "04e22a7dc76f339148305c661bf61b937d17e6a2" and "a97b32c9d4a5cd1000c2ec265a10fe68df46448b" have entirely different histories.
04e22a7dc7
...
a97b32c9d4
@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
BIN
keystore.jks
BIN
keystore.jks
Binary file not shown.
@ -1,6 +1,7 @@
|
||||
package com.captainalm.test.calmnet;
|
||||
|
||||
import com.captainalm.lib.calmnet.ssl.*;
|
||||
import com.captainalm.lib.calmnet.SSLUtilities;
|
||||
import com.captainalm.lib.calmnet.SSLUtilityException;
|
||||
import com.captainalm.lib.calmnet.packet.IPacket;
|
||||
import com.captainalm.lib.calmnet.packet.PacketException;
|
||||
import com.captainalm.lib.calmnet.packet.core.NetworkSSLUpgradePacket;
|
||||
|
@ -1,8 +1,6 @@
|
||||
package com.captainalm.test.calmnet;
|
||||
|
||||
import com.captainalm.lib.calmnet.packet.*;
|
||||
import com.captainalm.lib.calmnet.packet.factory.CALMNETPacketFactory;
|
||||
import com.captainalm.lib.calmnet.packet.factory.IPacketFactory;
|
||||
|
||||
import java.nio.file.Path;
|
||||
|
||||
|
@ -1,9 +1,12 @@
|
||||
package com.captainalm.test.calmnet;
|
||||
|
||||
import com.captainalm.lib.calmnet.ssl.*;
|
||||
import com.captainalm.lib.calmnet.SSLUtilities;
|
||||
import com.captainalm.lib.calmnet.SSLUtilityException;
|
||||
import com.captainalm.lib.calmnet.packet.*;
|
||||
import com.captainalm.lib.calmnet.packet.core.NetworkSSLUpgradePacket;
|
||||
import com.captainalm.lib.calmnet.packet.fragment.*;
|
||||
import com.captainalm.lib.calmnet.packet.fragment.FragmentAllocationPacket;
|
||||
import com.captainalm.lib.calmnet.packet.fragment.FragmentPIDPacket;
|
||||
import com.captainalm.lib.calmnet.packet.fragment.FragmentSendStopPacket;
|
||||
import com.captainalm.lib.calmnet.stream.NetworkInputStream;
|
||||
import com.captainalm.lib.calmnet.stream.NetworkOutputStream;
|
||||
|
||||
@ -86,15 +89,9 @@ public final class NetworkRuntime {
|
||||
|
||||
private void init(boolean useFragmentation, boolean verifyFragmentPayloads) {
|
||||
fragmentReceiver = (useFragmentation) ? new FragmentReceiver(factory.getPacketLoader(), factory) : null;
|
||||
if (fragmentReceiver != null) {
|
||||
fragmentReceiver.setResponseVerification(verifyFragmentPayloads);
|
||||
fragmentReceiver.setSentDataWillBeAllVerified(verifyFragmentPayloads);
|
||||
}
|
||||
if (fragmentReceiver != null) fragmentReceiver.setResponseVerification(verifyFragmentPayloads);
|
||||
fragmentSender = (useFragmentation) ? new FragmentSender(factory.getPacketLoader()) : null;
|
||||
if (fragmentSender != null) {
|
||||
fragmentSender.setResponseVerification(verifyFragmentPayloads);
|
||||
fragmentSender.setSentDataWillBeAllVerified(verifyFragmentPayloads);
|
||||
}
|
||||
if (fragmentSender != null) fragmentSender.setResponseVerification(verifyFragmentPayloads);
|
||||
receiveThread.start();
|
||||
if (useFragmentation) {
|
||||
fragmentMonitorThread.start();
|
||||
|
Loading…
Reference in New Issue
Block a user