|LocatorListener.peerAdded(IPeer) is never called when Agent starts! [message #496176]
||Mon, 09 November 2009 04:40
Originally posted by: henrik.wallinder.stericsson.com|
I'm using the TCF core framework (org.eclipse.tm.tcf.core) and the agent
to get the built-in observability functionality.
What I have done is:
1) Created a logger which implements org.eclipse.tm.tcf.protocol.ILogger
and added it using Protocol.setLogger(myLogger)
2) Created an event queue which implements
org.eclipse.tm.tcf.protocol.IEventQueue and added it using
3) Created a listener which implements
org.eclipse.tm.tcf.services.ILocator.LocatorListener and added it using
This has previously worked without any problems, when the agent was
started myListener.peerAdded(IPeer) was called.
However, recently I did a SVN update of org.eclipse.tm.tcf.core and now
it is no longer working. myListener.peerAdded(IPeer) is never called.
I've noticed that if I start the client part before I start the agent
(using the 'l9' argument) I sometimes get "TCF xx:xx.xxx: Socket bind
error: An invalid argument was supplied." in the log.
Any suggestions on what I'm doing wrong? Is the steps above enough?
Powered by FUDForum
. Page generated in 0.01592 seconds