[Dxspider-support] Local.pm / $orignode

Tobias Wellnitz tobias.wellnitz at gmail.com
Tue May 6 20:48:28 BST 2014


Hey,

I would really appreciate if somebody with a deeper knowledge about the DX
Spider architecture & Perl could help me out.
Resulting source code will be made public, of course.

Thanks,
Tobias, DH1TW




On Mon, May 5, 2014 at 12:19 AM, Tobias Wellnitz
<tobias.wellnitz at gmail.com>wrote:

> Hi Dirk et all,
>
> I've started implementing a routine which pushes the DX Spots as a JSON
> String into Redis (Pub/Sub).
> In Redis I have several listeners which then process the spots in other
> languages (mainly Python).
>
> I think this is more elegant than connecting through Telnet or reading
> from the file system. Redis is also blazingly fast (I also use it heavily
> for caching).
>
> I put the code in ../local/Local.pm
> here is the snippet: http://pastebin.com/aVMQS6sr
>
> The code works. But I've seen that $orignode only contains an number which
> is presumably a reference to the Node Object.
>
> How do I get the Node's callsign?
>
> DXChannel has a method get_all_node_calls but I guess it would be way too
> much overhead to retrieve with each spot the entire list.
>
> Is there also a possibility to get the Spotter's IP Address?
>
> Thanks & 73,
> Tobias
> DH1TW
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.tobit.co.uk/pipermail/dxspider-support/attachments/20140506/cfb6d7f3/attachment.html>


More information about the Dxspider-support mailing list