public class QueueBroadcastManager extends Object implements BroadcastManager
| Constructor and Description |
|---|
QueueBroadcastManager(String name) |
| 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 QueueBroadcastManager(String name)
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 © 2022 JBoss by Red Hat. All rights reserved.