mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-29 20:59:45 +01:00
documentation fixes
This commit is contained in:
@@ -76,12 +76,22 @@ public:
|
||||
HTTPServer(HTTPRequestHandlerFactory::Ptr pFactory, const ServerSocket& socket, HTTPServerParams::Ptr pParams);
|
||||
/// Creates the HTTPServer, using the given ServerSocket.
|
||||
///
|
||||
/// New threads are taken from the default thread pool.
|
||||
/// The server takes ownership of the HTTPRequstHandlerFactory
|
||||
/// and deletes it when it's no longer needed.
|
||||
///
|
||||
/// The server also takes ownership of the HTTPServerParams object.
|
||||
///
|
||||
/// News threads are taken from the default thread pool.
|
||||
|
||||
HTTPServer(HTTPRequestHandlerFactory::Ptr pFactory, Poco::ThreadPool& threadPool, const ServerSocket& socket, HTTPServerParams::Ptr pParams);
|
||||
/// Creates the HTTPServer, using the given ServerSocket.
|
||||
///
|
||||
/// New threads are taken from the given thread pool.
|
||||
/// The server takes ownership of the HTTPRequstHandlerFactory
|
||||
/// and deletes it when it's no longer needed.
|
||||
///
|
||||
/// The server also takes ownership of the HTTPServerParams object.
|
||||
///
|
||||
/// News threads are taken from the given thread pool.
|
||||
|
||||
~HTTPServer();
|
||||
/// Destroys the HTTPServer and its HTTPRequestHandlerFactory.
|
||||
|
||||
@@ -80,14 +80,14 @@ public:
|
||||
~MulticastSocket();
|
||||
/// Destroys the DatagramSocket.
|
||||
|
||||
MulticastSocket& operator = (const Socket& socket);
|
||||
MulticastSocket& operator =(const Socket& socket);
|
||||
/// Assignment operator.
|
||||
///
|
||||
/// Releases the socket's SocketImpl and
|
||||
/// attaches the SocketImpl from the other socket and
|
||||
/// increments the reference count of the SocketImpl.
|
||||
|
||||
void setInterface(const NetworkInterface& interfc);
|
||||
void setInterface(const NetworkInterface& interface);
|
||||
/// Sets the interface used for sending multicast packets.
|
||||
///
|
||||
/// To select the default interface, specify an empty
|
||||
@@ -121,13 +121,13 @@ public:
|
||||
void joinGroup(const IPAddress& groupAddress);
|
||||
/// Joins the specified multicast group at the default interface.
|
||||
|
||||
void joinGroup(const IPAddress& groupAddress, const NetworkInterface& interfc);
|
||||
void joinGroup(const IPAddress& groupAddress, const NetworkInterface& interface);
|
||||
/// Joins the specified multicast group at the given interface.
|
||||
|
||||
void leaveGroup(const IPAddress& groupAddress);
|
||||
/// Leaves the specified multicast group at the default interface.
|
||||
|
||||
void leaveGroup(const IPAddress& groupAddress, const NetworkInterface& interfc);
|
||||
void leaveGroup(const IPAddress& groupAddress, const NetworkInterface& interface);
|
||||
/// Leaves the specified multicast group at the given interface.
|
||||
};
|
||||
|
||||
|
||||
@@ -352,6 +352,8 @@ public:
|
||||
|
||||
virtual bool getBlocking() const;
|
||||
/// Returns the blocking mode of the socket.
|
||||
/// This method will only work if the blocking modes of
|
||||
/// the socket are changed via the setBlocking method!
|
||||
|
||||
virtual bool secure() const;
|
||||
/// Returns true iff the socket's connection is secure
|
||||
|
||||
@@ -101,6 +101,10 @@ public:
|
||||
TCPServer(TCPServerConnectionFactory::Ptr pFactory, const ServerSocket& socket, TCPServerParams::Ptr pParams = 0);
|
||||
/// Creates the TCPServer, using the given ServerSocket.
|
||||
///
|
||||
/// The server takes ownership of the TCPServerConnectionFactory
|
||||
/// and deletes it when it's no longer needed.
|
||||
///
|
||||
/// The server also takes ownership of the TCPServerParams object.
|
||||
/// If no TCPServerParams object is given, the server's TCPServerDispatcher
|
||||
/// creates its own one.
|
||||
///
|
||||
@@ -109,6 +113,10 @@ public:
|
||||
TCPServer(TCPServerConnectionFactory::Ptr pFactory, Poco::ThreadPool& threadPool, const ServerSocket& socket, TCPServerParams::Ptr pParams = 0);
|
||||
/// Creates the TCPServer, using the given ServerSocket.
|
||||
///
|
||||
/// The server takes ownership of the TCPServerConnectionFactory
|
||||
/// and deletes it when it's no longer needed.
|
||||
///
|
||||
/// The server also takes ownership of the TCPServerParams object.
|
||||
/// If no TCPServerParams object is given, the server's TCPServerDispatcher
|
||||
/// creates its own one.
|
||||
///
|
||||
|
||||
@@ -61,6 +61,10 @@ class Net_API TCPServerDispatcher: public Poco::Runnable
|
||||
public:
|
||||
TCPServerDispatcher(TCPServerConnectionFactory::Ptr pFactory, Poco::ThreadPool& threadPool, TCPServerParams::Ptr pParams);
|
||||
/// Creates the TCPServerDispatcher.
|
||||
///
|
||||
/// The dispatcher takes ownership of the TCPServerParams object.
|
||||
/// If no TCPServerParams object is supplied, the TCPServerDispatcher
|
||||
/// creates one.
|
||||
|
||||
void duplicate();
|
||||
/// Increments the object's reference count.
|
||||
|
||||
Reference in New Issue
Block a user