Class ReflectivePingFieldMethod
- java.lang.Object
-
- com.djrapitops.plan.gathering.timed.ReflectivePingFieldMethod
-
- All Implemented Interfaces:
PingMethod
public class ReflectivePingFieldMethod extends java.lang.Object implements PingMethod
-
-
Constructor Summary
Constructors Constructor Description ReflectivePingFieldMethod()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getPing(org.bukkit.entity.Player player)
java.lang.String
getReasonForUnavailability()
boolean
isAvailable()
-
-
-
Method Detail
-
isAvailable
public boolean isAvailable()
- Specified by:
isAvailable
in interfacePingMethod
-
getPing
public int getPing(org.bukkit.entity.Player player)
- Specified by:
getPing
in interfacePingMethod
-
getReasonForUnavailability
public java.lang.String getReasonForUnavailability()
- Specified by:
getReasonForUnavailability
in interfacePingMethod
-
-