diff options
author | shaan <s.rauniyar@jacobs-university.de> | 2009-06-07 21:00:34 +0200 |
---|---|---|
committer | Constantin <jucovschi@gmail.com> | 2010-04-01 11:58:22 +0200 |
commit | fde3dc3d9e6bd3cfc2f0f46a34d553165bf81086 (patch) | |
tree | 735f9e221f706600d1ce9b33a04ea82ea8985f28 /network | |
parent | f77c28af448d5ba857e0fa855e3806004cadaa05 (diff) | |
download | rasdaman-upstream-fde3dc3d9e6bd3cfc2f0f46a34d553165bf81086.tar.gz rasdaman-upstream-fde3dc3d9e6bd3cfc2f0f46a34d553165bf81086.tar.xz rasdaman-upstream-fde3dc3d9e6bd3cfc2f0f46a34d553165bf81086.zip |
Module for network
Diffstat (limited to 'network')
-rw-r--r-- | network/akgnet_commbuffer.hh | 7 | ||||
-rw-r--r-- | network/akgnet_fdescr.hh | 4 | ||||
-rw-r--r-- | network/akgnet_file.hh | 4 | ||||
-rw-r--r-- | network/akgnet_inetaddr.hh | 9 | ||||
-rw-r--r-- | network/akgnet_nbcomm.hh | 18 | ||||
-rw-r--r-- | network/akgnet_selector.hh | 4 | ||||
-rw-r--r-- | network/akgnet_server.hh | 10 | ||||
-rw-r--r-- | network/akgnet_socket.hh | 18 |
8 files changed, 74 insertions, 0 deletions
diff --git a/network/akgnet_commbuffer.hh b/network/akgnet_commbuffer.hh index 0e28ee4..e83596c 100644 --- a/network/akgnet_commbuffer.hh +++ b/network/akgnet_commbuffer.hh @@ -46,6 +46,13 @@ namespace akg Please think twice before you change this - 'new' is supposed to throw */ +/** + * \defgroup Networks Network Classes + */ + +/** + * \ingroup Networks + */ class CommBuffer { diff --git a/network/akgnet_fdescr.hh b/network/akgnet_fdescr.hh index 7c41a7a..f124744 100644 --- a/network/akgnet_fdescr.hh +++ b/network/akgnet_fdescr.hh @@ -46,6 +46,10 @@ namespace akg The objects of this hierarchie can't be copied! */ +/** + * \ingroup Networks + */ + class FileDescriptor { public: diff --git a/network/akgnet_file.hh b/network/akgnet_file.hh index 4d1ee23..25f7000 100644 --- a/network/akgnet_file.hh +++ b/network/akgnet_file.hh @@ -45,6 +45,10 @@ namespace akg to file descriptors opened in other ways than sockets, like stdin or stdout */ +/** + * \ingroup Networks + */ + class File : public FileDescriptor { public: diff --git a/network/akgnet_inetaddr.hh b/network/akgnet_inetaddr.hh index ad9c5c3..c3777f7 100644 --- a/network/akgnet_inetaddr.hh +++ b/network/akgnet_inetaddr.hh @@ -45,6 +45,10 @@ namespace akg */ +/** + * \ingroup Networks + */ + class HostAddress { public: @@ -107,6 +111,11 @@ class HostAddress /** This class represents the IP address of a OS socket and envelops the OS data structure 'sockaddr_in' */ + +/** + * \ingroup Networks + */ + class SocketAddress { public: diff --git a/network/akgnet_nbcomm.hh b/network/akgnet_nbcomm.hh index 441d8e4..fad3443 100644 --- a/network/akgnet_nbcomm.hh +++ b/network/akgnet_nbcomm.hh @@ -42,6 +42,10 @@ namespace akg /** Base class for non-blocking communication jobs */ +/** + * \ingroup Networks + */ + class NbJob { public: @@ -210,6 +214,11 @@ class NbJob /* Base class for generic non-blocking server jobs */ + +/** + * \ingroup Networks + */ + class NbServerJob : public NbJob { public: @@ -241,6 +250,11 @@ class NbServerJob : public NbJob /* Base class for generic non-blocking client jobs */ + +/** + * \ingroup Networks + */ + class NbClientJob : public NbJob { public: @@ -280,6 +294,10 @@ class NbClientJob : public NbJob Important: new is supposed to throw! */ +/** + * \ingroup Networks + */ + class NbCommunicator : public GenericServer { public: diff --git a/network/akgnet_selector.hh b/network/akgnet_selector.hh index fde8462..2ee1b27 100644 --- a/network/akgnet_selector.hh +++ b/network/akgnet_selector.hh @@ -42,6 +42,10 @@ namespace akg /** This class envelops the 'select' function of the C-library */ +/** + * \ingroup Networks + */ + class Selector { public: diff --git a/network/akgnet_server.hh b/network/akgnet_server.hh index 40d9129..72edb45 100644 --- a/network/akgnet_server.hh +++ b/network/akgnet_server.hh @@ -49,6 +49,11 @@ namespace akg for opening the listen socket and accepting a new connection and other helper functions for more evoluate servers */ + +/** + * \ingroup Networks + */ + class GenericServer { public: @@ -119,6 +124,11 @@ class GenericServer very simple cases. This version doesn't care much about errors */ + +/** + * \ingroup Networks + */ + class BlockingServer : public GenericServer { public: diff --git a/network/akgnet_socket.hh b/network/akgnet_socket.hh index c17039d..f6711b9 100644 --- a/network/akgnet_socket.hh +++ b/network/akgnet_socket.hh @@ -45,6 +45,10 @@ namespace akg ListenSocket, ServerSocket and ClientSocket */ +/** + * \ingroup Networks + */ + class Socket : public FileDescriptor { public: @@ -71,6 +75,11 @@ class Socket : public FileDescriptor /** ListenSocket - socket for servers, to listen for clients */ + +/** + * \ingroup Networks + */ + class ListenSocket : public Socket { public: @@ -104,6 +113,10 @@ class ListenSocket : public Socket It opens by accepting a pending connection from a ListenSocket */ +/** + * \ingroup Networks + */ + class ServerSocket : public Socket { public: @@ -124,6 +137,11 @@ class ServerSocket : public Socket /** ClientSocket - socket for clients, to communicate with servers */ + +/** + * \ingroup Networks + */ + class ClientSocket : public Socket { public: |