// Notify all users of the same Scope
for (Set<IConnection> conset : current.getScope().getConnections()) {
for (IConnection conn : conset) {
if (conn != null) {
if (conn instanceof IServiceCapableConnection) {
IClient client = conn.getClient();
if (SessionVariablesUtil.isScreenClient(client)) {
// screen sharing clients do not receive events
continue;
} else if (SessionVariablesUtil.isAVClient(client)) {
// AVClients or potential AVClients do not receive events
continue;
} if (client.getId().equals(
current.getClient().getId())) {
// don't send back to same user
continue;
}
((IServiceCapableConnection) conn).invoke("newRed5ScreenCursor", new Object[] { cursor }, this);