protected void addEnvelope( Envelope env )
    {
        if( !envelopes.offer( env ) ) {
            throw new KernelException( "Critical error, could not enqueue envelope." );
        }            
    }
Removes and returns one endpoint event from the event queue or
 null if there are no endpoint events.
jme3-networking/src/main/java/com/jme3/network/kernel/AbstractKernel.java