Problem: process_term and close duplicated across subclasses of stream_connecter_base_t

Solution: pull up
This commit is contained in:
Simon Giesecke
2019-01-31 09:39:35 -05:00
parent 531df586d0
commit a09099a615
8 changed files with 39 additions and 98 deletions

View File

@@ -56,9 +56,6 @@ class ipc_connecter_t : public stream_connecter_base_t
reconnect_timer_id = 1
};
// Handlers for incoming commands.
void process_term (int linger_);
// Handlers for I/O events.
void in_event ();
void out_event ();
@@ -72,9 +69,6 @@ class ipc_connecter_t : public stream_connecter_base_t
// EAGAIN errno if async connect was launched.
int open ();
// Close the connecting socket.
int close ();
// Get the file descriptor of newly created connection. Returns
// retired_fd if the connection was unsuccessful.
fd_t connect ();