|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpaolomind.multitalk.netmessage.impl.StreamReceiver
public class StreamReceiver
Classe di oggetti che ricevono messaggi per stamparli su uno stream.
| Constructor Summary | |
|---|---|
StreamReceiver()
|
|
| Method Summary | |
|---|---|
void |
receive(IMessage m)
riceve il messaggio e lo stampa sul printstream associato. |
void |
setStream(java.io.PrintStream pstream)
setta il printstream su cui stampare il messaggio. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StreamReceiver()
| Method Detail |
|---|
public final void receive(IMessage m)
receive in interface Receiverm - messaggio da stampareReceiver.receive(paolomind.multitalk.netmessage.IMessage)public final void setStream(java.io.PrintStream pstream)
pstream - il printstream
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||