summaryrefslogtreecommitdiff
path: root/ACE/ace/Connector.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/Connector.h')
-rw-r--r--ACE/ace/Connector.h29
1 files changed, 14 insertions, 15 deletions
diff --git a/ACE/ace/Connector.h b/ACE/ace/Connector.h
index b342fe1180f..cb98eb22183 100644
--- a/ACE/ace/Connector.h
+++ b/ACE/ace/Connector.h
@@ -38,7 +38,7 @@ template <class SVC_HANDLER>
class ACE_Connector_Base
{
public:
- virtual ~ACE_Connector_Base (void) {}
+ virtual ~ACE_Connector_Base () = default;
/// Initialize the Svc_Handler.
virtual void initialize_svc_handler (ACE_HANDLE handle,
@@ -46,7 +46,7 @@ public:
/// Return the handle set representing the non-blocking connects in
/// progress.
- virtual ACE_Unbounded_Set<ACE_HANDLE> &non_blocking_handles (void) = 0;
+ virtual ACE_Unbounded_Set<ACE_HANDLE> &non_blocking_handles () = 0;
};
/**
@@ -64,7 +64,7 @@ public:
long timer_id);
/// Destructor.
- ~ACE_NonBlocking_Connect_Handler (void);
+ ~ACE_NonBlocking_Connect_Handler ();
/// Close up and return underlying SVC_HANDLER through @c sh.
/**
@@ -81,16 +81,16 @@ public:
bool close (SVC_HANDLER *&sh);
/// Get SVC_HANDLER.
- SVC_HANDLER *svc_handler (void);
+ SVC_HANDLER *svc_handler ();
/// Get handle.
- ACE_HANDLE handle (void);
+ ACE_HANDLE handle ();
/// Set handle.
void handle (ACE_HANDLE);
/// Get timer id.
- long timer_id (void);
+ long timer_id ();
/// Set timer id.
void timer_id (long timer_id);
@@ -113,7 +113,7 @@ public:
virtual int handle_timeout (const ACE_Time_Value &tv, const void *arg);
/// Should Reactor resume us if we have been suspended before the upcall?
- virtual int resume_handler (void);
+ virtual int resume_handler ();
/// Dump the state of an object.
void dump () const;
@@ -191,7 +191,7 @@ public:
int flags = 0);
/// Shutdown a connector and release resources.
- virtual ~ACE_Connector (void);
+ virtual ~ACE_Connector ();
// = Connection establishment methods.
@@ -260,10 +260,10 @@ public:
/// Close down the Connector. All pending non-blocking connects are
/// canceled and the corresponding svc_handler is closed.
- virtual int close (void);
+ virtual int close ();
/// Return the underlying PEER_CONNECTOR object.
- virtual PEER_CONNECTOR &connector (void) const;
+ virtual PEER_CONNECTOR &connector () const;
/// Initialize Svc_Handler.
virtual void initialize_svc_handler (ACE_HANDLE handle,
@@ -273,7 +273,7 @@ public:
virtual void reactor (ACE_Reactor *reactor);
/// Get Reactor.
- virtual ACE_Reactor *reactor (void) const;
+ virtual ACE_Reactor *reactor () const;
/// Dump the state of an object.
void dump () const;
@@ -356,7 +356,7 @@ protected:
virtual int init (int argc, ACE_TCHAR *argv[]);
/// Calls handle_close() to shutdown the Connector gracefully.
- virtual int fini (void);
+ virtual int fini ();
/// Default version returns address info in @a buf.
virtual int info (ACE_TCHAR **strp, size_t length) const;
@@ -364,11 +364,11 @@ protected:
// = Service management hooks.
/// Default version does no work and returns -1. Must be overloaded
/// by application developer to do anything meaningful.
- virtual int suspend (void);
+ virtual int suspend ();
/// Default version does no work and returns -1. Must be overloaded
/// by application developer to do anything meaningful.
- virtual int resume (void);
+ virtual int resume ();
private:
/// This is the peer connector factory.
@@ -387,7 +387,6 @@ private:
/// Handle set representing the non-blocking connects in progress.
ACE_Unbounded_Set<ACE_HANDLE> non_blocking_handles_;
-
};
/**