public class QueueBroadcastManager extends Object implements BroadcastManager
| Constructor and Description |
|---|
QueueBroadcastManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
byte[] |
getBroadcast() |
byte[] |
getBroadcast(long timeout,
TimeUnit unit) |
void |
receive(byte[] broadcast)
Receives the specified broadcast data.
|
public void receive(byte[] broadcast)
BroadcastReceiverreceive in interface BroadcastReceiverbroadcast - broadcast datapublic byte[] getBroadcast()
throws InterruptedException
getBroadcast in interface BroadcastManagerInterruptedExceptionpublic byte[] getBroadcast(long timeout,
TimeUnit unit)
throws InterruptedException
getBroadcast in interface BroadcastManagerInterruptedExceptionpublic void clear()
clear in interface BroadcastManagerCopyright © 2020 JBoss by Red Hat. All rights reserved.