|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectist.palcom.mal.MediaManager
ist.palcom.mal.BluetoothMediaManager
public class BluetoothMediaManager
This class implements ist.palcom.mal.BluetoothMediaManager
MediaManager| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ist.palcom.mal.MediaManager |
|---|
MediaManager.BroadcastDistributor, MediaManager.DistributorThread, MediaManager.UnicastDistributor |
| Field Summary |
|---|
| Fields inherited from class ist.palcom.mal.MediaManager |
|---|
distributorThread, PALCOM_URL_PREFIX, scheduler |
| 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()
If the exists a connection to a device with this url, then subscribe to these messages. |
protected CommunicationThread |
getReceivingThread(URL url)
|
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. |
| Methods inherited from class ist.palcom.mal.MediaManager |
|---|
addErrorHandler, getHost, getPort, getProtocol, getProtocolSpecificUrl, getSelector, messageReceived, raiseErrorEvent, registerDeviceURL, send, send, sendBroadcast, startReceiving, startReceiving, startReceiving2, startReceivingBroadcast, stopReceiving, stopReceiving, stopReceiving, stopReceiving |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, println, toString |
| Constructor Detail |
|---|
public BluetoothMediaManager(PalcomScheduler scheduler)
public BluetoothMediaManager(PalcomScheduler scheduler,
PalcomThread errorHandler)
| Method Detail |
|---|
public void stop()
MediaManager
stop in class MediaManagerpublic URL getDefaultUnicastURL()
getDefaultUnicastURL in class MediaManagerprotected CommunicationThread getSendingThread(URL url)
getSendingThread in class MediaManagerprotected boolean isBroadcast(URL url)
isBroadcast in class MediaManagerpublic URL[] getDefaultGroupAddresses()
getDefaultGroupAddresses in class MediaManagerprotected CommunicationThread getReceivingThread(URL url)
getReceivingThread in class MediaManagerprotected void removeReceivingThread(URL url)
MediaManager
removeReceivingThread in class MediaManager
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||