com.aelitis.azureus.core.devices.impl
Class DeviceTivoManager

java.lang.Object
  extended by com.aelitis.azureus.core.devices.impl.DeviceTivoManager

public class DeviceTivoManager
extends Object


Nested Class Summary
protected  class DeviceTivoManager.Searcher
           
 
Constructor Summary
protected DeviceTivoManager(DeviceManagerImpl _dm)
           
 
Method Summary
protected  Map<String,String> decodeBeacon(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 isEnabled()
           
protected  void log(String str)
           
protected  void log(String str, Throwable e)
           
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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeviceTivoManager

protected DeviceTivoManager(DeviceManagerImpl _dm)
Method Detail

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

protected byte[] encodeBeacon(boolean is_broadcast,
                              int my_port)
                       throws IOException
Throws:
IOException

decodeBeacon

protected Map<String,String> decodeBeacon(byte[] buffer,
                                          int length)
                                   throws IOException
Throws:
IOException

receiveBeacon

protected boolean receiveBeacon(InetAddress sender,
                                byte[] buffer,
                                int length)

foundTiVo

protected DeviceTivo foundTiVo(InetAddress address,
                               String uid,
                               String classification,
                               String machine)

log

protected void log(String str)

log

protected void log(String str,
                   Throwable e)