|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BroadcastDispatcher
An instance of this interface dispatches multicast events.
| Method Summary | |
|---|---|
void |
close()
Closes this instance, which can't be used thereafter. |
void |
dispatch(boolean alldomains,
java.lang.String id,
java.lang.Object data)
Dispatches a multicast event holding the given parameters. |
void |
dispatch(java.lang.String domain,
java.lang.String id,
java.lang.Object data)
Dispatches a multicast event to the given domain. |
java.lang.String |
getMulticastAddress()
Returns this instance's multicast address. |
int |
getMulticastPort()
Returns this instance's multicast port. |
java.lang.String |
getNode()
Returns the node identifier of this instance. |
void |
setBufsize(int size)
Sets this instance's "buffer size". |
void |
start()
Starts this instance - must be called prior to using this instance. |
| Method Detail |
|---|
void dispatch(boolean alldomains,
java.lang.String id,
java.lang.Object data)
throws java.io.IOException
alldomains - if true sends an event to all domains.id - the logical identifier of the event.data - the data that is encapsulated within the event.
java.io.IOException - if an IO problem occurs.
void dispatch(java.lang.String domain,
java.lang.String id,
java.lang.Object data)
throws java.io.IOException
domain - the domain to dispatch the event to.id - the logical identifier of the event.data - the data that is encapsulated within the event.
java.io.IOException - if an IO problem occurs.void setBufsize(int size)
the - size of this instance's internal buffer, in bytes.void start()
void close()
java.lang.String getNode()
int getMulticastPort()
java.lang.String getMulticastAddress()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||