|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectist.palcom.mal.AbstractMediaManager
ist.palcom.mal.bt.BluetoothMediaManager
public class BluetoothMediaManager
This class implements ist.palcom.mal.BluetoothMediaManager
MediaManager| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ist.palcom.mal.AbstractMediaManager |
|---|
AbstractMediaManager.DistributorThread |
| Field Summary |
|---|
| Fields inherited from class ist.palcom.mal.AbstractMediaManager |
|---|
distributorThread, PALCOM_URL_PREFIX, scheduler, TIMEOUTS_BEFORE_REMOVAL, WIRE_PROTOCOL_VERSION |
| Constructor Summary | |
|---|---|
BluetoothMediaManager(PalcomScheduler scheduler)
Deprecated. See superclass |
|
BluetoothMediaManager(PalcomScheduler scheduler,
PalcomThread errorHandler)
|
|
| Method Summary | |
|---|---|
URL[] |
getDefaultGroupAddresses()
We use the address 00:00:00:00:00:00 as the default group address, as no such thing exists in Bluetooth. |
URL |
getDefaultUnicastURL()
Returns the URL that the manager listens for messages at by default. |
protected CommunicationThread |
getReceivingThread(URL url)
|
int |
getSendBufferSize()
|
protected CommunicationThread |
getSendingThread(URL url)
|
protected boolean |
isBroadcast(URL url)
This does not make sense in a bluetooth world, as there is only point to point connections. |
protected void |
removeReceivingThread(URL url)
Stop receiving at url, and remove the receiving thread. |
void |
stop()
Stop the manager. |
void |
suggestSendBufferSize(int size)
If the exists a connection to a device with this url, then subscribe to these messages. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BluetoothMediaManager(PalcomScheduler scheduler)
public BluetoothMediaManager(PalcomScheduler scheduler,
PalcomThread errorHandler)
| Method Detail |
|---|
public void stop()
AbstractMediaManager
stop in interface MediaManagerstop in class AbstractMediaManagerpublic void suggestSendBufferSize(int size)
suggestSendBufferSize in interface MediaManagersuggestSendBufferSize in class AbstractMediaManagerpublic int getSendBufferSize()
getSendBufferSize in interface MediaManagergetSendBufferSize in class AbstractMediaManagerpublic URL getDefaultUnicastURL()
AbstractMediaManager
getDefaultUnicastURL in class AbstractMediaManagerprotected CommunicationThread getSendingThread(URL url)
getSendingThread in class AbstractMediaManagerprotected boolean isBroadcast(URL url)
isBroadcast in class AbstractMediaManagerpublic URL[] getDefaultGroupAddresses()
getDefaultGroupAddresses in class AbstractMediaManagerprotected CommunicationThread getReceivingThread(URL url)
getReceivingThread in class AbstractMediaManagerprotected void removeReceivingThread(URL url)
AbstractMediaManager
removeReceivingThread in class AbstractMediaManager
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||