public class RMIBroadcastServiceImpl extends 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.
ref| Constructor and Description |
|---|
RMIBroadcastServiceImpl(RMIBroadcaster b)
Builds a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
send(Object message)
Sends a message to be broadcasted.
|
clone, exportObject, exportObject, exportObject, unexportObjectgetClientHost, getLog, setLogpublic RMIBroadcastServiceImpl(RMIBroadcaster b) throws RemoteException
Builds a new instance.
b - the broadcasterRemoteException - if an error occurs remotelypublic void send(Object message)
Sends a message to be broadcasted.
send in interface RMIBroadcastServicemessage - the messageCopyright © 2017. All Rights Reserved.