Update packaging references to CALMNetLib.
This commit is contained in:
parent
a97b32c9d4
commit
126f5c95c7
6
.idea/vcs.xml
Normal file
6
.idea/vcs.xml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="" vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
@ -1,7 +1,6 @@
|
|||||||
package com.captainalm.test.calmnet;
|
package com.captainalm.test.calmnet;
|
||||||
|
|
||||||
import com.captainalm.lib.calmnet.SSLUtilities;
|
import com.captainalm.lib.calmnet.ssl.*;
|
||||||
import com.captainalm.lib.calmnet.SSLUtilityException;
|
|
||||||
import com.captainalm.lib.calmnet.packet.IPacket;
|
import com.captainalm.lib.calmnet.packet.IPacket;
|
||||||
import com.captainalm.lib.calmnet.packet.PacketException;
|
import com.captainalm.lib.calmnet.packet.PacketException;
|
||||||
import com.captainalm.lib.calmnet.packet.core.NetworkSSLUpgradePacket;
|
import com.captainalm.lib.calmnet.packet.core.NetworkSSLUpgradePacket;
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
package com.captainalm.test.calmnet;
|
package com.captainalm.test.calmnet;
|
||||||
|
|
||||||
import com.captainalm.lib.calmnet.packet.*;
|
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;
|
import java.nio.file.Path;
|
||||||
|
|
||||||
|
@ -1,12 +1,9 @@
|
|||||||
package com.captainalm.test.calmnet;
|
package com.captainalm.test.calmnet;
|
||||||
|
|
||||||
import com.captainalm.lib.calmnet.SSLUtilities;
|
import com.captainalm.lib.calmnet.ssl.*;
|
||||||
import com.captainalm.lib.calmnet.SSLUtilityException;
|
|
||||||
import com.captainalm.lib.calmnet.packet.*;
|
import com.captainalm.lib.calmnet.packet.*;
|
||||||
import com.captainalm.lib.calmnet.packet.core.NetworkSSLUpgradePacket;
|
import com.captainalm.lib.calmnet.packet.core.NetworkSSLUpgradePacket;
|
||||||
import com.captainalm.lib.calmnet.packet.fragment.FragmentAllocationPacket;
|
import com.captainalm.lib.calmnet.packet.fragment.*;
|
||||||
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.NetworkInputStream;
|
||||||
import com.captainalm.lib.calmnet.stream.NetworkOutputStream;
|
import com.captainalm.lib.calmnet.stream.NetworkOutputStream;
|
||||||
|
|
||||||
@ -89,9 +86,15 @@ public final class NetworkRuntime {
|
|||||||
|
|
||||||
private void init(boolean useFragmentation, boolean verifyFragmentPayloads) {
|
private void init(boolean useFragmentation, boolean verifyFragmentPayloads) {
|
||||||
fragmentReceiver = (useFragmentation) ? new FragmentReceiver(factory.getPacketLoader(), factory) : null;
|
fragmentReceiver = (useFragmentation) ? new FragmentReceiver(factory.getPacketLoader(), factory) : null;
|
||||||
if (fragmentReceiver != null) fragmentReceiver.setResponseVerification(verifyFragmentPayloads);
|
if (fragmentReceiver != null) {
|
||||||
|
fragmentReceiver.setResponseVerification(verifyFragmentPayloads);
|
||||||
|
fragmentReceiver.setSentDataWillBeAllVerified(verifyFragmentPayloads);
|
||||||
|
}
|
||||||
fragmentSender = (useFragmentation) ? new FragmentSender(factory.getPacketLoader()) : null;
|
fragmentSender = (useFragmentation) ? new FragmentSender(factory.getPacketLoader()) : null;
|
||||||
if (fragmentSender != null) fragmentSender.setResponseVerification(verifyFragmentPayloads);
|
if (fragmentSender != null) {
|
||||||
|
fragmentSender.setResponseVerification(verifyFragmentPayloads);
|
||||||
|
fragmentSender.setSentDataWillBeAllVerified(verifyFragmentPayloads);
|
||||||
|
}
|
||||||
receiveThread.start();
|
receiveThread.start();
|
||||||
if (useFragmentation) {
|
if (useFragmentation) {
|
||||||
fragmentMonitorThread.start();
|
fragmentMonitorThread.start();
|
||||||
|
Loading…
Reference in New Issue
Block a user