Mediatorpublic interface Mediator Source code from "Java Distributed Computing", by Jim Farley.
Class: Mediator
Example: 9-4
Description: An interface for a mediator of a remote collaboration. |
Methods Summary |
---|
public boolean | broadcast(Identity from, java.lang.String mtag, java.lang.String msg)
| public boolean | broadcast(Identity from, java.lang.String mtag, java.lang.Object data)
| public java.util.Vector | getMembers()
| public Identity | newMember()
| public boolean | remove(Identity i)
| public boolean | send(Identity to, Identity from, java.lang.String mtag, java.lang.String msg)
| public boolean | send(Identity to, Identity from, java.lang.String mtag, java.lang.Object data)
|
|