Package com.biglybt.core.devices.impl
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.Searcher
private DeviceManagerImpl
(package private) boolean
private static final String
(package private) boolean
(package private) PluginInterface
private String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecodeBeacon
(byte[] buffer, int length) protected byte[]
encodeBeacon
(boolean is_broadcast, int my_port) protected DeviceTivo
foundTiVo
(InetAddress address, String uid, String classification, String machine) protected boolean
protected void
protected void
protected boolean
receiveBeacon
(InetAddress sender, byte[] buffer, int length) protected void
search()
protected void
search
(boolean persistent, boolean async) protected void
setEnabled
(boolean enabled) protected void
startUp()
-
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
-