Package com.biglybt.plugin.net.netstatus
Class NetStatusPlugin
- java.lang.Object
-
- com.biglybt.plugin.net.netstatus.NetStatusPlugin
-
-
Field Summary
Fields Modifier and Type Field Description private LoggerChannel
logger
private BooleanParameter
logging_detailed
private PluginInterface
plugin_interface
private NetStatusProtocolTester
protocol_tester
private AESemaphore
protocol_tester_sem
private StringParameter
test_address
private ActionParameter
test_button
static java.lang.String
VIEW_ID
-
Constructor Summary
Constructors Constructor Description NetStatusPlugin()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getBooleanParameter(java.lang.String name, boolean def)
NetStatusProtocolTester
getProtocolTester()
void
initialize(PluginInterface _plugin_interface)
This method is called when the Plugin is loaded by the clientboolean
isDetailedLogging()
static void
load(PluginInterface plugin_interface)
void
log(java.lang.String str)
void
log(java.lang.String str, java.lang.Throwable e)
void
setBooleanParameter(java.lang.String name, boolean value)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.biglybt.pif.Plugin
getInitialProperties
-
-
-
-
Field Detail
-
VIEW_ID
public static final java.lang.String VIEW_ID
- See Also:
- Constant Field Values
-
plugin_interface
private PluginInterface plugin_interface
-
logger
private LoggerChannel logger
-
logging_detailed
private BooleanParameter logging_detailed
-
test_button
private ActionParameter test_button
-
test_address
private StringParameter test_address
-
protocol_tester
private NetStatusProtocolTester protocol_tester
-
protocol_tester_sem
private AESemaphore protocol_tester_sem
-
-
Method Detail
-
load
public static void load(PluginInterface plugin_interface)
-
initialize
public void initialize(PluginInterface _plugin_interface)
Description copied from interface:Plugin
This method is called when the Plugin is loaded by the client- Specified by:
initialize
in interfacePlugin
- Parameters:
_plugin_interface
- the interface that the plugin must use to communicate with the client
-
isDetailedLogging
public boolean isDetailedLogging()
-
getProtocolTester
public NetStatusProtocolTester getProtocolTester()
-
setBooleanParameter
public void setBooleanParameter(java.lang.String name, boolean value)
-
getBooleanParameter
public boolean getBooleanParameter(java.lang.String name, boolean def)
-
log
public void log(java.lang.String str)
-
log
public void log(java.lang.String str, java.lang.Throwable e)
-
-