public class RMIBroadcastServiceImpl extends java.rmi.server.UnicastRemoteObject implements RMIBroadcastService
Default implementation of the RMIBroadcastService which can be bound to the RMI registry. It wraps a
broadcaster to use when message is received.
| Constructor and Description |
|---|
RMIBroadcastServiceImpl(RMIBroadcaster b)
Builds a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
send(java.lang.Object message)
Sends a message to be broadcasted.
|
clone, exportObject, exportObject, exportObject, unexportObjectpublic RMIBroadcastServiceImpl(RMIBroadcaster b) throws java.rmi.RemoteException
Builds a new instance.
b - the broadcasterjava.rmi.RemoteException - if an error occurs remotelypublic void send(java.lang.Object message)
Sends a message to be broadcasted.
send in interface RMIBroadcastServicemessage - the messageCopyright © 2018. All Rights Reserved.