Package me.clientastisch.controller
Class PlayerTraffic
- java.lang.Object
-
- me.clientastisch.controller.PlayerTraffic
-
public abstract class PlayerTraffic extends java.lang.Object
- Since:
- CAC v. 2.5.0
- Author:
- Clientastisch
-
-
Constructor Summary
Constructors Constructor Description PlayerTraffic()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract void
destory()
Stop intercepting trafficabstract void
subscribeIncommingTraffic(java.util.function.Consumer<java.lang.String> packet)
Intercept incomming tcp network trafficabstract void
subscribeOutgoingTraffic(java.util.function.Consumer<java.lang.String> packet)
Intercepting outgoing tcp traffic
-
-
-
Method Detail
-
subscribeIncommingTraffic
public abstract void subscribeIncommingTraffic(java.util.function.Consumer<java.lang.String> packet)
Intercept incomming tcp network traffic- Parameters:
packet
- tcp packet in string representation
-
subscribeOutgoingTraffic
public abstract void subscribeOutgoingTraffic(java.util.function.Consumer<java.lang.String> packet)
Intercepting outgoing tcp traffic- Parameters:
packet
- tcp packet in string representation
-
destory
public abstract void destory()
Stop intercepting traffic
-
-