Class DeviceTivoManager
java.lang.Object
com.biglybt.core.devices.impl.DeviceTivoManager
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int(package private) DeviceTivoManager.Searcherprivate DeviceManagerImpl(package private) booleanprivate static final String(package private) boolean(package private) PluginInterfaceprivate String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecodeBeacon(byte[] buffer, int length) protected byte[]encodeBeacon(boolean is_broadcast, int my_port) protected DeviceTivofoundTiVo(InetAddress address, String uid, String classification, String machine) protected booleanprotected voidprotected voidprotected booleanreceiveBeacon(InetAddress sender, byte[] buffer, int length) protected voidsearch()protected voidsearch(boolean persistent, boolean async) protected voidsetEnabled(boolean enabled) protected voidstartUp()
-
Field Details
-
LF
- See Also:
-
CONTROL_PORT
private static final int CONTROL_PORT- See Also:
-
device_manager
-
plugin_interface
PluginInterface plugin_interface -
is_enabled
boolean is_enabled -
uid
-
current_search
DeviceTivoManager.Searcher current_search -
manager_destroyed
volatile boolean manager_destroyed
-
-
Constructor Details
-
DeviceTivoManager
-
-
Method Details
-
startUp
protected void startUp() -
isEnabled
protected boolean isEnabled() -
setEnabled
protected void setEnabled(boolean enabled) -
search
protected void search() -
search
protected void search(boolean persistent, boolean async) -
encodeBeacon
- Throws:
IOException
-
decodeBeacon
- Throws:
IOException
-
receiveBeacon
-
foundTiVo
protected DeviceTivo foundTiVo(InetAddress address, String uid, String classification, String machine) -
log
-
log
-