Package net.pl3x.map.core.network
Class Network
java.lang.Object
net.pl3x.map.core.network.Network
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected com.google.common.io.ByteArrayDataInput
in
(byte[] bytes) protected com.google.common.io.ByteArrayDataOutput
out()
abstract void
register()
protected abstract <T> void
send
(T player, com.google.common.io.ByteArrayDataOutput out) protected abstract <T> void
sendMapData
(T player, int id) protected abstract <T> void
sendServerData
(T player) abstract void
-
Field Details
-
CHANNEL
- See Also:
-
-
Constructor Details
-
Network
public Network()
-
-
Method Details
-
register
public abstract void register() -
unregister
public abstract void unregister() -
sendServerData
protected abstract <T> void sendServerData(T player) -
sendMapData
protected abstract <T> void sendMapData(T player, int id) -
send
protected abstract <T> void send(T player, com.google.common.io.ByteArrayDataOutput out) -
out
protected com.google.common.io.ByteArrayDataOutput out() -
in
protected com.google.common.io.ByteArrayDataInput in(byte[] bytes)
-