Diseño de aplicaciones orientadas a objetos
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package patronMediator;
|
|
|
|
public abstract class Colega {
|
|
|
|
protected Mediador mediador;
|
|
|
|
public Colega(Mediador mediador) {
|
|
this.mediador = mediador;
|
|
}
|
|
|
|
public abstract void enviarMensaje(String mensaje);
|
|
public abstract void mensajeRecibido(String mensaje);
|
|
}
|
|
|