diff options
| author | Alan Conway <aconway@apache.org> | 2007-01-29 16:13:24 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2007-01-29 16:13:24 +0000 |
| commit | 5a1b8a846bdfa5cb517da0c507f3dc3a8ceec25d (patch) | |
| tree | f9a982b65400154a86edd02faf75da143a96404c /cpp/lib/common/sys | |
| parent | 5d28464c46c1e64ded078a4585f0f49e30b8b5d6 (diff) | |
| download | qpid-python-5a1b8a846bdfa5cb517da0c507f3dc3a8ceec25d.tar.gz | |
* Added ClientAdapter - client side ChannelAdapter. Updated client side.
* Moved ChannelAdapter initialization from ctor to init(), updated broker side.
* Improved various exception messages with boost::format messages.
* Removed unnecssary virtual inheritance.
* Widespread: fixed incorrect non-const ProtocolVersion& parameters.
* Client API: pass channels by reference, not pointer.
* codegen:
- MethodBodyClass.h.templ: Added CLASS_ID, METHOD_ID and isA() template.
- Various: fixed non-const ProtocolVersion& parameters.
* cpp/bootstrap: Allow config arguments with -build.
* cpp/gen/Makefile.am: Merged codegen fixes from trunk.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@501087 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/lib/common/sys')
| -rw-r--r-- | cpp/lib/common/sys/apr/APRSocket.cpp | 2 | ||||
| -rw-r--r-- | cpp/lib/common/sys/apr/APRSocket.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cpp/lib/common/sys/apr/APRSocket.cpp b/cpp/lib/common/sys/apr/APRSocket.cpp index 4917803370..621a66b919 100644 --- a/cpp/lib/common/sys/apr/APRSocket.cpp +++ b/cpp/lib/common/sys/apr/APRSocket.cpp @@ -59,7 +59,7 @@ void APRSocket::close(){ } } -bool APRSocket::isOpen(){ +bool APRSocket::isOpen() const { return !closed; } diff --git a/cpp/lib/common/sys/apr/APRSocket.h b/cpp/lib/common/sys/apr/APRSocket.h index 53f1055c6a..d4274300f2 100644 --- a/cpp/lib/common/sys/apr/APRSocket.h +++ b/cpp/lib/common/sys/apr/APRSocket.h @@ -36,7 +36,7 @@ namespace sys { void read(qpid::framing::Buffer& b); void write(qpid::framing::Buffer& b); void close(); - bool isOpen(); + bool isOpen() const; u_int8_t read(); ~APRSocket(); }; |
