I am trying to receive notifications from ServiceRegistrar with no sucess. Having my service registered in the lookup service, implementing RemoteEventListener my method notify(RemoteEvent theEvent)is never called
I am registring wit notification with the follwing pseudo code:
RemoteEventListener proxy = ... (returned by exporter.export(myService) ServiceRegistrar reggie = ... ServiceTemplate AVDC_TPL = .... final int TRANSITION = ServiceRegistrar.TRANSITION_MATCH_MATCH | ServiceRegistrar.TRANSITION_MATCH_NOMATCH | ServiceRegistrar.TRANSITION_NOMATCH_MATCH;
When running my service and looking in the logs for the reggie the notifications are suposed to be called:
Jun 28, 2004 7:20:14 PM com.sun.jini.reggie.RegistrarImpl$EventTask run FINE: notifying listener Proxy[IService,BasicInvocationHandler[BasicObjectEndpoint[aa4ebd91-7075-4fcf-8e 86-9df3b3901c35,TcpEndpoint[192.168.29.53:24409]]]] of event 0