[icinga-checkins] icinga.org: icinga2/master: Refactor the socket subsystem.

git at icinga.org git at icinga.org
Thu Apr 4 16:11:28 CEST 2013


Module: icinga2
Branch: master
Commit: 09f395a7de415054279e43a6ad028bc62de200a3
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=09f395a7de415054279e43a6ad028bc62de200a3

Author: Gunnar Beutner <gunnar at blade9.beutner.name>
Date:   Thu Apr  4 16:08:02 2013 +0200

Refactor the socket subsystem.

---

 components/livestatus/Makefile.am                  |    2 -
 components/livestatus/component.cpp                |   46 ++-
 components/livestatus/component.h                  |    7 +-
 components/livestatus/connection.cpp               |   57 ---
 lib/base/Makefile.am                               |    6 +-
 lib/base/bufferedstream.cpp                        |  133 +++++
 .../jsonrpcconnection.h => base/bufferedstream.h}  |   49 ++-
 lib/base/dynamicobject.cpp                         |    2 -
 lib/base/fifo.cpp                                  |   51 +--
 lib/base/fifo.h                                    |    7 +-
 lib/base/netstring.cpp                             |  108 +++--
 lib/base/{connection.cpp => networkstream.cpp}     |   44 ++-
 lib/base/{connection.h => networkstream.h}         |   35 +-
 lib/base/socket.cpp                                |  513 ++------------------
 lib/base/socket.h                                  |   56 +--
 lib/base/stdiostream.cpp                           |   61 +---
 lib/base/stdiostream.h                             |    6 -
 lib/base/stream.cpp                                |  108 +----
 lib/base/stream.h                                  |   49 +--
 lib/base/stream_bio.cpp                            |    1 -
 lib/base/tcpsocket.cpp                             |   35 +-
 lib/base/tcpsocket.h                               |    4 +-
 lib/base/tlsstream.cpp                             |  259 ++++-------
 lib/base/tlsstream.h                               |   17 +-
 lib/base/value.cpp                                 |    2 +-
 lib/remoting/Makefile.am                           |    4 +-
 lib/remoting/endpoint.cpp                          |  109 ++---
 lib/remoting/endpoint.h                            |   11 +-
 lib/remoting/endpointmanager.cpp                   |   76 ++--
 lib/remoting/endpointmanager.h                     |    5 +-
 .../{jsonrpcconnection.cpp => jsonrpc.cpp}         |   51 +--
 .../connection.h => lib/remoting/jsonrpc.h         |   33 +-
 lib/remoting/messagepart.h                         |    2 +-
 33 files changed, 615 insertions(+), 1334 deletions(-)

Diff:   https://git.icinga.org/?p=icinga2.git;a=commitdiff;h=09f395a7de415054279e43a6ad028bc62de200a3




More information about the icinga-checkins mailing list