- savePacketProtocolInformation(OutputStream, PacketProtocolInformation) - Static method in class com.captainalm.lib.calmnet.packet.PacketProtocolInformation
-
- savePayload() - Method in class com.captainalm.lib.calmnet.packet.core.Base64Packet
-
Saves the packet payload to a byte array.
- savePayload() - Method in class com.captainalm.lib.calmnet.packet.core.EncryptedPacket
-
Saves the packet payload to a byte array.
- savePayload() - Method in class com.captainalm.lib.calmnet.packet.core.NetworkEncryptionCipherPacket
-
Saves the packet payload to a byte array.
- savePayload() - Method in class com.captainalm.lib.calmnet.packet.core.NetworkEncryptionUpgradePacket
-
Saves the packet payload to a byte array.
- savePayload() - Method in class com.captainalm.lib.calmnet.packet.core.NetworkIdentifierPacket
-
Saves the packet payload to a byte array.
- savePayload() - Method in class com.captainalm.lib.calmnet.packet.core.NetworkSSLUpgradePacket
-
Saves the packet payload to a byte array.
- savePayload() - Method in class com.captainalm.lib.calmnet.packet.fragment.FragmentAllocatePacket
-
Saves the packet payload to a byte array.
- savePayload() - Method in class com.captainalm.lib.calmnet.packet.fragment.FragmentAllocationPacket
-
Saves the packet payload to a byte array.
- savePayload() - Method in class com.captainalm.lib.calmnet.packet.fragment.FragmentMessagePacket
-
Saves the packet payload to a byte array.
- savePayload() - Method in class com.captainalm.lib.calmnet.packet.fragment.FragmentPIDAKNPacket
-
Saves the packet payload to a byte array.
- savePayload() - Method in class com.captainalm.lib.calmnet.packet.fragment.FragmentPIDMSGPacket
-
Saves the packet payload to a byte array.
- savePayload() - Method in class com.captainalm.lib.calmnet.packet.fragment.FragmentSendStopPacket
-
Saves the packet payload to a byte array.
- savePayload() - Method in class com.captainalm.lib.calmnet.packet.fragment.FragmentSendVerifyCompletePacket
-
Saves the packet payload to a byte array.
- savePayload() - Method in interface com.captainalm.lib.calmnet.packet.IPacket
-
Saves the packet payload to a byte array.
- sendPacket(IPacket, boolean) - Method in class com.captainalm.lib.calmnet.marshal.NetMarshalClient
-
- sendPacket() - Method in class com.captainalm.lib.calmnet.packet.fragment.FragmentReceiver
-
Sends the current
IPacket
s from the FragmentReceiver.
- sendPacket(IPacket) - Method in class com.captainalm.lib.calmnet.packet.fragment.FragmentSender
-
Sends a
IPacket
using this FragmentSender.
- sendPacket() - Method in class com.captainalm.lib.calmnet.packet.fragment.FragmentSender
-
Sends the current
IPacket
s from the FragmentSender.
- setAcceptExceptionBiConsumer(BiConsumer<Exception, NetMarshalServer>) - Method in class com.captainalm.lib.calmnet.marshal.NetMarshalServer
-
Sets the BiConsumer
accept exception consumer.
- setAllowInvalidPackets(boolean) - Method in class com.captainalm.lib.calmnet.packet.PacketLoader
-
This sets whether invalid packets are allowed to be read and written.
- setBase64ed(boolean) - Method in class com.captainalm.lib.calmnet.packet.core.NetworkEncryptionUpgradePacket
-
Sets if base64 is used.
- setCacheUsed(boolean) - Method in class com.captainalm.lib.calmnet.packet.core.Base64Packet
-
Sets if the encrypted data is cached.
- setCacheUsed(boolean) - Method in class com.captainalm.lib.calmnet.packet.core.EncryptedPacket
-
Sets if the encrypted data is cached.
- setCacheUsed(boolean) - Method in class com.captainalm.lib.calmnet.packet.core.NetworkEncryptionCipherPacket
-
Sets if the cipher information is cached.
- setCacheUsed(boolean) - Method in interface com.captainalm.lib.calmnet.packet.IInternalCache
-
Sets if the internal cache is used.
- setCipherFactory(ICipherFactory) - Method in class com.captainalm.lib.calmnet.packet.core.EncryptedPacket
-
Sets the ICipherFactory
being used.
- setCipherFactory(ICipherFactory) - Method in class com.captainalm.lib.calmnet.packet.core.NetworkEncryptionUpgradePacket
-
Sets the ICipherFactory
being used.
- setCipherFactory(ICipherFactory) - Method in class com.captainalm.lib.calmnet.packet.factory.CALMNETPacketFactory
-
Sets the ICipherFactory
in use.
- setCiphers(String[]) - Method in class com.captainalm.lib.calmnet.packet.core.NetworkEncryptionCipherPacket
-
Sets the cipher names this packet contains.
- setClampedLength(int) - Method in class com.captainalm.lib.calmnet.stream.LengthClampedInputStream
-
Sets a new clamped length value.
- setClientAcceptanceBiConsumer(BiConsumer<CandidateClient, NetMarshalServer>) - Method in class com.captainalm.lib.calmnet.marshal.NetMarshalServer
-
Sets the BiConsumer
client acceptance consumer.
- setClosedConsumer(Consumer<NetMarshalClient>) - Method in class com.captainalm.lib.calmnet.marshal.NetMarshalClient
-
Sets the Consumer
closed consumer.
- setClosedConsumer(Consumer<NetMarshalClient>) - Method in class com.captainalm.lib.calmnet.marshal.NetMarshalServer
-
Sets the Consumer
closed consumer.
- setDatagramBufferSize(int) - Method in class com.captainalm.lib.calmnet.stream.NetworkOutputStream
-
Sets the buffer size for sending datagrams.
- setDatagramSocket(DatagramSocket) - Method in class com.captainalm.lib.calmnet.stream.NetworkInputStream
-
Sets the datagram socket in use.
- setDatagramSocket(DatagramSocket) - Method in class com.captainalm.lib.calmnet.stream.NetworkOutputStream
-
Sets the datagram socket in use.
- setDatagramTarget(InetAddress, int) - Method in class com.captainalm.lib.calmnet.stream.NetworkOutputStream
-
Sets the datagram target InetAddress
and port.
- setFactory(IPacketFactory) - Method in class com.captainalm.lib.calmnet.packet.core.Base64Packet
-
- setFactory(IPacketFactory) - Method in class com.captainalm.lib.calmnet.packet.core.EncryptedPacket
-
- setHeldPacket(IPacket) - Method in class com.captainalm.lib.calmnet.packet.core.Base64Packet
-
Sets the held packet.
- setHeldPacket(IPacket) - Method in class com.captainalm.lib.calmnet.packet.core.EncryptedPacket
-
Sets the held packet.
- setIfSecretsSent(boolean) - Method in class com.captainalm.lib.calmnet.packet.core.NetworkEncryptionUpgradePacket
-
Sets if secrets should be sent as part of cipher settings.
- setNumberOfEmptySendsTillForcedCompleteOrResend(int) - Method in class com.captainalm.lib.calmnet.packet.fragment.FragmentReceiver
-
- setOldPacketFormatUsage(boolean) - Method in class com.captainalm.lib.calmnet.packet.PacketLoader
-
Sets if the old packet format should be used (No explicit hash indication nor length).
- setOpenedConsumer(Consumer<NetMarshalClient>) - Method in class com.captainalm.lib.calmnet.marshal.NetMarshalServer
-
Sets the Consumer
opened consumer.
- setPacket(IPacket) - Method in class com.captainalm.lib.calmnet.packet.factory.CALMNETPacketFactoryWithPacket
-
- setPacketFactory(IPacketFactory) - Method in class com.captainalm.lib.calmnet.packet.factory.CALMNETPacketFactory
-
Sets the
IPacketFactory
in use (null signifies to use the same instance).
- setPacketFactory(IPacketFactory) - Method in class com.captainalm.lib.calmnet.packet.fragment.FragmentReceiver
-
- setPacketLoader(PacketLoader) - Method in class com.captainalm.lib.calmnet.packet.core.Base64Packet
-
- setPacketLoader(PacketLoader) - Method in class com.captainalm.lib.calmnet.packet.core.EncryptedPacket
-
- setPacketLoader(PacketLoader) - Method in class com.captainalm.lib.calmnet.packet.factory.CALMNETPacketFactory
-
- setPacketLoader(PacketLoader) - Method in class com.captainalm.lib.calmnet.packet.fragment.FragmentReceiver
-
- setPacketLoader(PacketLoader) - Method in class com.captainalm.lib.calmnet.packet.fragment.FragmentSender
-
- setPacketsShouldBeRead(boolean) - Method in class com.captainalm.lib.calmnet.marshal.NetMarshalClient
-
- setReceiveBiConsumer(BiConsumer<IPacket, NetMarshalClient>) - Method in class com.captainalm.lib.calmnet.marshal.NetMarshalClient
-
Sets the BiConsumer
receiver consumer.
- setReceiveBiConsumer(BiConsumer<IPacket, NetMarshalClient>) - Method in class com.captainalm.lib.calmnet.marshal.NetMarshalServer
-
Sets the BiConsumer
receiver consumer.
- setReceiveExceptionBiConsumer(BiConsumer<Exception, NetMarshalClient>) - Method in class com.captainalm.lib.calmnet.marshal.NetMarshalClient
-
Sets the BiConsumer
receive exception consumer.
- setReceiveExceptionBiConsumer(BiConsumer<Exception, NetMarshalClient>) - Method in class com.captainalm.lib.calmnet.marshal.NetMarshalServer
-
Sets the BiConsumer
receive exception consumer.
- setResponseVerification(boolean) - Method in class com.captainalm.lib.calmnet.packet.fragment.FragmentReceiver
-
Sets whether responses should be verified by sending back the payload to be verified.
- setResponseVerification(boolean) - Method in class com.captainalm.lib.calmnet.packet.fragment.FragmentSender
-
Sets whether responses should be verified by checking if they are equal.
- setSentDataWillBeAllVerified(boolean) - Method in class com.captainalm.lib.calmnet.packet.fragment.FragmentReceiver
-
Gets whether all sent fragments are expected to be verified.
- setSentDataWillBeAllVerified(boolean) - Method in class com.captainalm.lib.calmnet.packet.fragment.FragmentSender
-
Gets whether all sent fragments are verified via resend checks for equality.
- setSocket(Socket) - Method in class com.captainalm.lib.calmnet.stream.NetworkInputStream
-
Sets the socket in use.
- setSocket(Socket) - Method in class com.captainalm.lib.calmnet.stream.NetworkOutputStream
-
Sets the socket in use.
- setSocketSetupBiConsumer(BiConsumer<Socket, NetMarshalServer>) - Method in class com.captainalm.lib.calmnet.marshal.NetMarshalServer
-
Sets the BiConsumer
socket setup consumer.
- setSplitSize(int) - Method in class com.captainalm.lib.calmnet.packet.fragment.FragmentSender
-
Sets the packet split size in bytes.
- setStreamPacketsPreferred(boolean) - Method in class com.captainalm.lib.calmnet.packet.factory.CALMNETPacketFactory
-
- setStreamPacketsPreferred(boolean) - Method in interface com.captainalm.lib.calmnet.packet.factory.IPacketFactory
-
- setTrailingPassword(String) - Method in class com.captainalm.lib.calmnet.packet.core.EncryptedPacket
-
Sets the trailing password (Use null for no trailing password).
- setUpgrade(boolean) - Method in class com.captainalm.lib.calmnet.packet.core.NetworkEncryptionUpgradePacket
-
- setupReceiver(FragmentReceiver) - Method in class com.captainalm.lib.calmnet.marshal.FragmentationOptions
-
- setupSender(FragmentSender) - Method in class com.captainalm.lib.calmnet.marshal.FragmentationOptions
-
- shouldSentDataBeAllVerified() - Method in class com.captainalm.lib.calmnet.packet.fragment.FragmentReceiver
-
Gets whether all sent fragments are expected to be verified.
- shouldSentDataBeAllVerified() - Method in class com.captainalm.lib.calmnet.packet.fragment.FragmentSender
-
Gets whether all sent fragments are verified via resend checks for equality.
- shouldVerifyResponses() - Method in class com.captainalm.lib.calmnet.packet.fragment.FragmentReceiver
-
Gets whether responses should be verified by sending back the payload to be verified.
- shouldVerifyResponses() - Method in class com.captainalm.lib.calmnet.packet.fragment.FragmentSender
-
Gets whether responses should be verified by checking if they are equal.
- sslUpgradeClientSide(SSLContext, String) - Method in class com.captainalm.lib.calmnet.marshal.NetMarshalClient
-
Performs SSL socket upgrades on client side (Use for constructed sockets).
- sslUpgradeServerSide(SSLContext) - Method in class com.captainalm.lib.calmnet.marshal.NetMarshalClient
-
Performs SSL socket upgrades on server side (Use for accepted sockets).
- SSLUtilities - Class in com.captainalm.lib.calmnet.ssl
-
This class provides SSL utilities to create SSLContext
and SSLSocket
objects using JKS files (Or other supported formats).
- SSLUtilities() - Constructor for class com.captainalm.lib.calmnet.ssl.SSLUtilities
-
- SSLUtilityException - Exception in com.captainalm.lib.calmnet.ssl
-
This class provides the SSL Utility exception wrapper class.
- SSLUtilityException(String) - Constructor for exception com.captainalm.lib.calmnet.ssl.SSLUtilityException
-
Constructs a new exception with the specified detail message.
- SSLUtilityException(String, Throwable) - Constructor for exception com.captainalm.lib.calmnet.ssl.SSLUtilityException
-
Constructs a new exception with the specified detail message and
cause.
- SSLUtilityException(Throwable) - Constructor for exception com.captainalm.lib.calmnet.ssl.SSLUtilityException
-
Constructs a new exception with the specified cause and a detail
message of (cause==null ? null : cause.toString()) (which
typically contains the class and detail message of cause).
- stopAllDataVerificationAndCompleteReceive() - Method in class com.captainalm.lib.calmnet.packet.fragment.FragmentReceiver
-
- stopAllDataVerificationAndCompleteSend() - Method in class com.captainalm.lib.calmnet.packet.fragment.FragmentSender
-
- stopDataVerificationAndCompleteReceive(int) - Method in class com.captainalm.lib.calmnet.packet.fragment.FragmentReceiver
-
- stopDataVerificationAndCompleteSend(int) - Method in class com.captainalm.lib.calmnet.packet.fragment.FragmentSender
-
- subtractMostSignificantFlag(int) - Static method in class com.captainalm.lib.calmnet.packet.PacketLoader
-
Subtracts the most significant flag from the given integer.