public interface BasicMessageListener
SpreadConnection.add(BasicMessageListener).
The object is an active listener until it is removed by a call to
SpreadConnection.remove(BasicMessageListener). While the listener is active, it will be alerted
to all messages received on the connection. When a message is received,
messageReceived(SpreadMessage) will be called.| Modifier and Type | Method and Description |
|---|---|
void |
messageReceived(SpreadMessage message)
If the object has been added to a connection with
SpreadConnection.add(BasicMessageListener),
this gets called whenever a message is received. |
void messageReceived(SpreadMessage message)
SpreadConnection.add(BasicMessageListener),
this gets called whenever a message is received. The call happens in a seperate thread.message - the message that has been receivedCopyright ? 2004 Spread Concepts LLC. All Rights Reserved.