Home » Archived » Eclipse Communications Framework (ECF) » [QUESTION] Zeroconf. How?
| |
Re: [QUESTION] Zeroconf. How? [message #593744 is a reply to message #593717] |
Thu, 12 January 2006 04:44 |
Scott Lewis Messages: 1038 Registered: July 2009 |
Senior Member |
|
|
Hi Daniel,
Daniel S. Haischt wrote:
> Hello,
>
> I still have some problems to understand how to use the Zeroconf stuff.
>
> Currently I am working with the collab example from CVS. If starting the
> ecf collab server and afterwards the ecf example collab client 1, I am
> able to open the dynamic service discovery view.
>
> That view shows for example my local _workstation service etc..
>
> But I am not able to figure out how one would announce his presence
> (_ecftcp._tcp.local.) if he joins the ECF server running on localhost.
I think the reason you can't figure out one would announce his presence
via this service is that this server/service isn't a presence server.
It's a service that understands 'shared objects'...which can, if
desired, represent presence information, but the collab example plugin
(which uses this server), uses shared objects to represent a simple
Eclipse-based collaboration session (see EclipseCollabSharedObject in
org.eclipse.ecf.example.collab plugin). This shared object only lives
on the clients...in effect the server has no functionality at all other
than to provide message fan out for clients.
>
> What should I do that if I initiate a chat, my presence is broadcastet
> via Zeroconf to other people on the subnet.
>
> For example if I use iChat on one of my Macs, iChat is announcing my
> presence via '_presence._tcp'.
Yes...and clients that know how to communicate directly with iChat can,
when notified via the zeroconf discovery can do so.
This is just the way that zeroconf/bonjour discovery works...it's not
anything about the ECF/jmdns implementation.
>
> This leads to another questions/thought ...
>
> Gaim for example announces itself using the '_presence._tcp' service
> type. Because there will be a Yahoo provide and possible some other
> providers, it would make sense to use this service type as well. That
> way an iChat user for example would be able to communicate with an ECF
> user.
I didn't know that Gaim announced itself using that service type. Kind
of interesting. AFAIK, there's no standardization of the service names
(although some conventions for http, ssh, etc., etc), etc that are
published via zeroconf/bonjour...I believe the services themselves can
publish with whatever names they choose...but I would have to consult:
http://www.zeroconf.org/
Thanks,
Scott
|
|
|
Re: [QUESTION] Zeroconf. How? [message #593752 is a reply to message #593744] |
Thu, 12 January 2006 04:51 |
Scott Lewis Messages: 1038 Registered: July 2009 |
Senior Member |
|
|
Hi Daniel and all,
For reference, here are the service types published by some of Apple's
applications:
http://developer.apple.com/qa/qa2001/qa1312.html
Scott
Scott Lewis wrote:
> Hi Daniel,
>
> Daniel S. Haischt wrote:
>
>> Hello,
>>
>> I still have some problems to understand how to use the Zeroconf stuff.
>>
>> Currently I am working with the collab example from CVS. If starting the
>> ecf collab server and afterwards the ecf example collab client 1, I am
>> able to open the dynamic service discovery view.
>>
>> That view shows for example my local _workstation service etc..
>>
>> But I am not able to figure out how one would announce his presence
>> (_ecftcp._tcp.local.) if he joins the ECF server running on localhost.
>
>
> I think the reason you can't figure out one would announce his presence
> via this service is that this server/service isn't a presence server.
> It's a service that understands 'shared objects'...which can, if
> desired, represent presence information, but the collab example plugin
> (which uses this server), uses shared objects to represent a simple
> Eclipse-based collaboration session (see EclipseCollabSharedObject in
> org.eclipse.ecf.example.collab plugin). This shared object only lives
> on the clients...in effect the server has no functionality at all other
> than to provide message fan out for clients.
>
>>
>> What should I do that if I initiate a chat, my presence is broadcastet
>> via Zeroconf to other people on the subnet.
>>
>> For example if I use iChat on one of my Macs, iChat is announcing my
>> presence via '_presence._tcp'.
>
>
> Yes...and clients that know how to communicate directly with iChat can,
> when notified via the zeroconf discovery can do so.
>
> This is just the way that zeroconf/bonjour discovery works...it's not
> anything about the ECF/jmdns implementation.
>
>>
>> This leads to another questions/thought ...
>>
>> Gaim for example announces itself using the '_presence._tcp' service
>> type. Because there will be a Yahoo provide and possible some other
>> providers, it would make sense to use this service type as well. That
>> way an iChat user for example would be able to communicate with an ECF
>> user.
>
>
> I didn't know that Gaim announced itself using that service type. Kind
> of interesting. AFAIK, there's no standardization of the service names
> (although some conventions for http, ssh, etc., etc), etc that are
> published via zeroconf/bonjour...I believe the services themselves can
> publish with whatever names they choose...but I would have to consult:
> http://www.zeroconf.org/
>
> Thanks,
>
> Scott
>
>
|
|
|
Re: [QUESTION] Zeroconf. How? [message #593768 is a reply to message #593752] |
Thu, 12 January 2006 13:39 |
me Messages: 20 Registered: July 2009 |
Junior Member |
|
|
This is a list with almost any DNS SRV Service Type:
-> http://www.dns-sd.org/ServiceTypes.html
Scott Lewis wrote:
> Hi Daniel and all,
>
> For reference, here are the service types published by some of Apple's
> applications:
>
> http://developer.apple.com/qa/qa2001/qa1312.html
>
>
> Scott
>
>
> Scott Lewis wrote:
>
>> Hi Daniel,
>>
>> Daniel S. Haischt wrote:
>>
>>> Hello,
>>>
>>> I still have some problems to understand how to use the Zeroconf stuff.
>>>
>>> Currently I am working with the collab example from CVS. If starting the
>>> ecf collab server and afterwards the ecf example collab client 1, I am
>>> able to open the dynamic service discovery view.
>>>
>>> That view shows for example my local _workstation service etc..
>>>
>>> But I am not able to figure out how one would announce his presence
>>> (_ecftcp._tcp.local.) if he joins the ECF server running on localhost.
>>
>>
>>
>> I think the reason you can't figure out one would announce his
>> presence via this service is that this server/service isn't a presence
>> server. It's a service that understands 'shared objects'...which can,
>> if desired, represent presence information, but the collab example
>> plugin (which uses this server), uses shared objects to represent a
>> simple Eclipse-based collaboration session (see
>> EclipseCollabSharedObject in org.eclipse.ecf.example.collab plugin).
>> This shared object only lives on the clients...in effect the server
>> has no functionality at all other than to provide message fan out for
>> clients.
>>
>>>
>>> What should I do that if I initiate a chat, my presence is broadcastet
>>> via Zeroconf to other people on the subnet.
>>>
>>> For example if I use iChat on one of my Macs, iChat is announcing my
>>> presence via '_presence._tcp'.
>>
>>
>>
>> Yes...and clients that know how to communicate directly with iChat
>> can, when notified via the zeroconf discovery can do so.
>>
>> This is just the way that zeroconf/bonjour discovery works...it's not
>> anything about the ECF/jmdns implementation.
>>
>>>
>>> This leads to another questions/thought ...
>>>
>>> Gaim for example announces itself using the '_presence._tcp' service
>>> type. Because there will be a Yahoo provide and possible some other
>>> providers, it would make sense to use this service type as well. That
>>> way an iChat user for example would be able to communicate with an ECF
>>> user.
>>
>>
>>
>> I didn't know that Gaim announced itself using that service type.
>> Kind of interesting. AFAIK, there's no standardization of the service
>> names (although some conventions for http, ssh, etc., etc), etc that
>> are published via zeroconf/bonjour...I believe the services themselves
>> can publish with whatever names they choose...but I would have to
>> consult: http://www.zeroconf.org/
>>
>> Thanks,
>>
>> Scott
>>
>>
|
|
| |
|
|
Goto Forum:
Current Time: Tue Sep 24 12:00:06 GMT 2024
Powered by FUDForum. Page generated in 0.04093 seconds
|