Class SubProtocol
java.lang.Object
net.ME1312.SubData.Client.DataProtocol
net.ME1312.SubData.Client.SubDataProtocol
net.ME1312.SubServers.Host.Network.SubProtocol
SubServers Protocol Class
-
Field Summary
Fields inherited from class net.ME1312.SubData.Client.SubDataProtocol
MAX_PACKET_ID, MIN_PACKET_ID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SubProtocol
get()
open
(InetAddress address, int port) open
(Consumer<Runnable> scheduler, Logger logger, InetAddress address, int port) protected SubDataClient
Methods inherited from class net.ME1312.SubData.Client.SubDataProtocol
addVersion, getBlockSize, getName, getPacket, getVersion, open, open, open, registerCipher, registerPacket, registerPacket, removeVersion, setBlockSize, setName, unregisterCipher, unregisterPacket, unregisterPacket
Methods inherited from class net.ME1312.SubData.Client.DataProtocol
getMessage, registerMessage, registerMessage, unregisterMessage, unregisterMessage
-
Constructor Details
-
SubProtocol
protected SubProtocol()
-
-
Method Details
-
get
-
sub
protected SubDataClient sub(Consumer<Runnable> scheduler, Logger logger, InetAddress address, int port, ObjectMap<?> login) throws IOException - Overrides:
sub
in classSubDataProtocol
- Throws:
IOException
-
open
public SubDataClient open(Consumer<Runnable> scheduler, Logger logger, InetAddress address, int port) throws IOException - Overrides:
open
in classSubDataProtocol
- Throws:
IOException
-
open
- Throws:
IOException
-