On 11/3/10 7:25 PM, Jason Weinstein wrote:
Thanks,

I appreciate you looking into it.

One quick workaround atm :

        @Override
public void serviceActivated( final IoService service ) throws Exception
        {
System.out.println( "UdpServiceListener#serviceActivated service activated " );
        }

( note that I removed the '+ service' from to sysout.)

It seems that there is a bad interaction somewhere, but I'm not able to debug it atm. I'm blocked into a access to a static final field, namely in :

    public TransportMetadata getTransportMetadata() {
        return NioDatagramSession.METADATA;
    }

The NioDatagramSession.METADATA is not visible at this point, and he debugger freeze.

The METADATA static element has been initialized in :

class NioDatagramSession extends NioSession {
static final TransportMetadata METADATA = new DefaultTransportMetadata("nio", "datagram", true, false, InetSocketAddress.class, DatagramSessionConfig.class, IoBuffer.class);
...

I have *no* idea what's going on :/ Also note that I'm on Apple OS/X crapy Java port, so I can't tell if it's not just a problem. Will try on a real system (ie, Linux).


--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com

Reply via email to