@Override
    public void broadcast( int channel, Filter<? super HostedConnection> filter, Message message )
    {
        if( log.isLoggable(Level.FINER) ) {
            log.log(Level.FINER, "broadcast({0}, {1}. {2})", new Object[]{channel, filter, message});
        }
        
        if( connections.isEmpty() )
            return;

        checkChannel(channel);
        
        ByteBuffer buffer = protocol.toByteBuffer(message, null);
 
        FilterAdapter adapter = filter == null ? null : new FilterAdapter(filter);

        channels.get(channel+CH_FIRST).broadcast( adapter, buffer, true, false );               
    }
A default implementation of the Server interface that delegates
 its network connectivity to kernel.Kernel.

 @version   $Revision$
 @author    Paul Speed
jme3-networking/src/main/java/com/jme3/network/base/DefaultServer.java