History log of /haiku/src/tests/kits/app/messaging/PortLinkTest.cpp
Revision Date Author Comments
# 21210ba8 15-Jan-2008 Stefano Ceccherini <stefano.ceccherini@gmail.com>

The check was right, I just got it wrong. Sending a big message is
supposed to fail. Sorry.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23543 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7c1ca8d9 15-Jan-2008 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Fixed PortLinkTest build, and also corrected a check.
Looks like attaching 100000 bytes fails. Any idea ?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23542 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ce98205a 29-Jun-2005 Axel Dörfler <axeld@pinc-software.de>

Build fixes, mostly by John Drinkwater - looks like he's cleaning up behind me :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13346 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bd28b3c7 07-Jun-2005 Axel Dörfler <axeld@pinc-software.de>

BAppServerLink is now using BApplication::fServerTo/From for its messaging.
Added LinkMsgReader::NeedsReply() method.
Completely redone ServerApp messaging: no more "replyport" from BAppServerLink; instead,
the registered client reply port is used. Fixed some more weak messaging stuff.
ServerApp now recognizes if an unknown message needs a reply, and sends it - for example,
the "Screen" preferences app no longer hangs, but crashes on start :)
Made LinkMsgReader::Read() virtual again, since it's needed by RAMLinkMsgReader.cpp.
Renamed BPortLink::GetNextReply() to GetNextMessage().
Some more cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13004 a95241bf-73f2-0310-859d-f6bbb57e9c96


# be835bdf 07-Jun-2005 Axel Dörfler <axeld@pinc-software.de>

Fixed LinkMsgReader::ReadString() for empty strings I just broke before.
Extended the PortLinkTest application a bit (and updated it).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13003 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 62fbf00d 07-Jun-2005 Axel Dörfler <axeld@pinc-software.de>

Added a simple mini test application for BPortLink.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12995 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 21210ba8945be7231c76aa28bb06b698999c0c93 15-Jan-2008 Stefano Ceccherini <stefano.ceccherini@gmail.com>

The check was right, I just got it wrong. Sending a big message is
supposed to fail. Sorry.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23543 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7c1ca8d91b81290c75e32003f8f5300569380ad5 15-Jan-2008 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Fixed PortLinkTest build, and also corrected a check.
Looks like attaching 100000 bytes fails. Any idea ?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23542 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ce98205af59fa54a07a9953b5013ef87d6d51c1f 29-Jun-2005 Axel Dörfler <axeld@pinc-software.de>

Build fixes, mostly by John Drinkwater - looks like he's cleaning up behind me :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13346 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bd28b3c7469be94f8c4dbecc3d2683d7960da4dd 07-Jun-2005 Axel Dörfler <axeld@pinc-software.de>

BAppServerLink is now using BApplication::fServerTo/From for its messaging.
Added LinkMsgReader::NeedsReply() method.
Completely redone ServerApp messaging: no more "replyport" from BAppServerLink; instead,
the registered client reply port is used. Fixed some more weak messaging stuff.
ServerApp now recognizes if an unknown message needs a reply, and sends it - for example,
the "Screen" preferences app no longer hangs, but crashes on start :)
Made LinkMsgReader::Read() virtual again, since it's needed by RAMLinkMsgReader.cpp.
Renamed BPortLink::GetNextReply() to GetNextMessage().
Some more cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13004 a95241bf-73f2-0310-859d-f6bbb57e9c96


# be835bdf0b32bc9e6aca3e56a8e017f4a72410d2 07-Jun-2005 Axel Dörfler <axeld@pinc-software.de>

Fixed LinkMsgReader::ReadString() for empty strings I just broke before.
Extended the PortLinkTest application a bit (and updated it).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13003 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 62fbf00df821a2731f0a5847806eba0ac13052ed 07-Jun-2005 Axel Dörfler <axeld@pinc-software.de>

Added a simple mini test application for BPortLink.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12995 a95241bf-73f2-0310-859d-f6bbb57e9c96