Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2015-02

very small addition to multilog package

4 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Roberto P.

I've been using for long the great multilog package to do selective logging to file and an IPC listener.Recently I needed to setup a little more complicate IPC based system, for which I took advantage of all of that good work.
In order to have a multiple agent bi-directional communication was to be able to give a different name to each server.

So, if anyone is interested in it or you want to include it in the "standard" multilog package, I am attaching ipcnamedchannel.pas It is nothing more than a copy of the standard ipcchannel.pas with a change in the constructor a little else.

This possibility could be very well integrated in the standard TIPCChannel class with a second constructor, but I simply preferred not to touch the original file.

Bye,

R#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150220/53c5fe82/attachment.html> -------------- next part --------------
A non-text attachment was scrubbed...
Name: ipcnamedchannel.pas
Type: application/octet-stream
Size: 3871 bytes
Desc: not available
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150220/53c5fe82/attachment.obj>

Reply by email

luiz americo pereira camara
to Roberto P.

Mind you creating patch (
http://wiki.lazarus.freepascal.org/Creating_A_Patch) against https://code.google.com/p/luipack/ repository?

Luiz

2015-02-20 15:03 GMT-03:00 Roberto P. :

Show quoted text 27 lines
I've been using for long the great multilog package to do selective logging to file and an IPC listener.Recently I needed to setup a little more complicate IPC based system, for which I took advantage of all of that good work. In order to have a multiple agent bi-directional communication was to be able to give a different name to each server. So, if anyone is interested in it or you want to include it in the "standard" multilog package, I am attaching ipcnamedchannel.pas It is nothing more than a copy of the standard ipcchannel.pas with a change in the constructor a little else. This possibility could be very well integrated in the standard TIPCChannel class with a second constructor, but I simply preferred not to touch the original file. Bye, R# -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150221/dcee114b/attachment.html>

Reply by email

Roberto P.
to luiz americo pereira camara

I don't mind, but I have never done it;I'll write you in private about that.

R#

2015-02-21 17:07 GMT+01:00 luiz americo pereira camara :

Show quoted text 43 lines
Mind you creating patch ( http://wiki.lazarus.freepascal.org/Creating_A_Patch) against https://code.google.com/p/luipack/ repository? Luiz 2015-02-20 15:03 GMT-03:00 Roberto P. : > I've been using for long the great multilog package to do selective > logging to file and an IPC listener.Recently I needed to setup a little > more complicate IPC based system, for which I took advantage of all of that > good work. > In order to have a multiple agent bi-directional communication was to be > able to give a different name to each server. > > So, if anyone is interested in it or you want to include it in the > "standard" multilog package, I am attaching ipcnamedchannel.pas > It is nothing more than a copy of the standard ipcchannel.pas with a > change in the constructor a little else. > > This possibility could be very well integrated in the standard > TIPCChannel class with a second constructor, but I simply preferred not to > touch the original file. > > Bye, > > R# > > -- > _______________________________________________ > Lazarus mailing list > > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > > -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150222/d1bb4162/attachment.html>

Reply by email

luiz americo pereira camara
to Roberto P.

Thanks.

I updated at
https://code.google.com/p/luipack/source/browse/#svn%2Ftrunk%2Fmultilog

For using svn you can look at
http://wiki.lazarus.freepascal.org/Getting_Lazarus#Getting_SVN Replace lazarus url by http://luipack.googlecode.com/svn/trunk/ luipack

For creating a patch look at
http://wiki.lazarus.freepascal.org/Creating_A_Patch

Luiz

2015-02-21 20:27 GMT-03:00 Roberto P. :

Show quoted text 59 lines
I don't mind, but I have never done it;I'll write you in private about that. R# 2015-02-21 17:07 GMT+01:00 luiz americo pereira camara : > Mind you creating patch ( > http://wiki.lazarus.freepascal.org/Creating_A_Patch) against > https://code.google.com/p/luipack/ repository? > > Luiz > > 2015-02-20 15:03 GMT-03:00 Roberto P. : > >> I've been using for long the great multilog package to do selective >> logging to file and an IPC listener.Recently I needed to setup a little >> more complicate IPC based system, for which I took advantage of all of that >> good work. >> In order to have a multiple agent bi-directional communication was to be >> able to give a different name to each server. >> >> So, if anyone is interested in it or you want to include it in the >> "standard" multilog package, I am attaching ipcnamedchannel.pas >> It is nothing more than a copy of the standard ipcchannel.pas with a >> change in the constructor a little else. >> >> This possibility could be very well integrated in the standard >> TIPCChannel class with a second constructor, but I simply preferred not to >> touch the original file. >> >> Bye, >> >> R# >> >> -- >> _______________________________________________ >> Lazarus mailing list >> >> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus >> >> > > -- > _______________________________________________ > Lazarus mailing list > > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > > -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150222/c61ef1fa/attachment.html>

Reply by email