List toNotify = null;
synchronized (sharedObjectMessageListeners) {
toNotify = new ArrayList(sharedObjectMessageListeners);
}
for (final Iterator i = toNotify.iterator(); i.hasNext();) {
final ISharedObjectMessageListener l = (ISharedObjectMessageListener) i
.next();
l.handleSharedObjectMessage(event);
}
final Object data = event.getData();
if (data instanceof ITypingMessage) {
final ITypingMessage tmess = (ITypingMessage) data;