|
@@ -82,8 +82,6 @@ class IOEndpoint;
|
|
/// derived class for testing purposes rather than providing factory methods
|
|
/// derived class for testing purposes rather than providing factory methods
|
|
/// (i.e., getDummy variants below).
|
|
/// (i.e., getDummy variants below).
|
|
///
|
|
///
|
|
-/// TODO: Check if IOAsioSocket class is still needed
|
|
|
|
-///
|
|
|
|
/// \param C Template parameter identifying type of the callback object.
|
|
/// \param C Template parameter identifying type of the callback object.
|
|
|
|
|
|
template <typename C>
|
|
template <typename C>
|
|
@@ -328,10 +326,9 @@ public:
|
|
///
|
|
///
|
|
/// A call that is a no-op on UDP sockets, this opens a connection to the
|
|
/// A call that is a no-op on UDP sockets, this opens a connection to the
|
|
/// system identified by the given endpoint.
|
|
/// system identified by the given endpoint.
|
|
|
|
+ /// The endpoint and callback are unused.
|
|
///
|
|
///
|
|
- /// \param endpoint Unused
|
|
+ /// \return false indicating that the operation completed synchronously.
|
|
- /// \param callback Unused.
|
|
|
|
- ///false indicating that the operation completed synchronously.
|
|
|
|
virtual bool open(const IOEndpoint*, C&) {
|
|
virtual bool open(const IOEndpoint*, C&) {
|
|
return (false);
|
|
return (false);
|
|
}
|
|
}
|
|
@@ -339,23 +336,14 @@ public:
|
|
/// \brief Send Asynchronously
|
|
/// \brief Send Asynchronously
|
|
///
|
|
///
|
|
/// Must be supplied as it is abstract in the base class.
|
|
/// Must be supplied as it is abstract in the base class.
|
|
- ///
|
|
+ /// This is unused.
|
|
- /// \param data Unused
|
|
|
|
- /// \param length Unused
|
|
|
|
- /// \param endpoint Unused
|
|
|
|
- /// \param callback Unused
|
|
|
|
virtual void asyncSend(const void*, size_t, const IOEndpoint*, C&) {
|
|
virtual void asyncSend(const void*, size_t, const IOEndpoint*, C&) {
|
|
}
|
|
}
|
|
|
|
|
|
/// \brief Receive Asynchronously
|
|
/// \brief Receive Asynchronously
|
|
///
|
|
///
|
|
/// Must be supplied as it is abstract in the base class.
|
|
/// Must be supplied as it is abstract in the base class.
|
|
- ///
|
|
+ /// The parameters are unused.
|
|
- /// \param data Unused
|
|
|
|
- /// \param length Unused
|
|
|
|
- /// \param offset Unused
|
|
|
|
- /// \param endpoint Unused
|
|
|
|
- /// \param callback Unused
|
|
|
|
virtual void asyncReceive(void* data, size_t, size_t, IOEndpoint*, C&) {
|
|
virtual void asyncReceive(void* data, size_t, size_t, IOEndpoint*, C&) {
|
|
}
|
|
}
|
|
|
|
|