Package mindustry.net
Class ArcNetProvider.ArcConnection
java.lang.Object
mindustry.net.NetConnection
mindustry.net.ArcNetProvider.ArcConnection
- Enclosing class:
- ArcNetProvider
-
Field Summary
FieldsFields inherited from class mindustry.net.NetConnection
address, chatRate, connectTime, determiningAssets, hasBegunConnecting, hasConnected, hasDisconnected, kicked, lastReceivedClientSnapshot, lastReceivedClientTime, localEntities, mobile, modclient, packetRate, player, receivingAssets, rejectedRequests, usid, uuid, viewHeight, viewWidth, viewX, viewY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclose()booleanvoidvoidsendStream(Streamable stream) Methods inherited from class mindustry.net.NetConnection
kick, kick, kick, kick, kick, kickDisconnect, sendStream, sendStreamAsync
-
Field Details
-
connection
public final arc.net.Connection connection
-
-
Constructor Details
-
ArcConnection
-
-
Method Details
-
isConnected
public boolean isConnected()- Overrides:
isConnectedin classNetConnection
-
blacklist
public void blacklist()- Overrides:
blacklistin classNetConnection
-
sendStream
- Overrides:
sendStreamin classNetConnection
-
send
- Specified by:
sendin classNetConnection
-
close
public void close()- Specified by:
closein classNetConnection
-