Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Target Management » LocatorListener.peerAdded(IPeer) is never called when Agent starts!
LocatorListener.peerAdded(IPeer) is never called when Agent starts! [message #496176] Mon, 09 November 2009 09:40
Eclipse User
Originally posted by: henrik.wallinder.stericsson.com

Hi,

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
Protocol.setEventQueue(myQueue)

3) Created a listener which implements
org.eclipse.tm.tcf.services.ILocator.LocatorListener and added it using
Protocol.getLocator().addListener(myListener)

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?

/Henrik.
Previous Topic:LocatorListener.peerAdded(IPeer) is never called when Agent starts!
Next Topic:"Browse For Folder" Dialog does not work as expected
Goto Forum:
  


Current Time: Tue Sep 30 10:28:40 GMT 2014

Powered by FUDForum. Page generated in 0.06798 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software